Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Camunda Platform 8, I can define an inline FEEL expression for a BPMN script task #3321

Closed
4 tasks done
saig0 opened this issue Nov 29, 2022 · 6 comments
Closed
4 tasks done
Assignees
Labels
BPMN Camunda 8 Flags an issue as related to Camunda 8 enhancement New feature or request
Milestone

Comments

@saig0
Copy link
Member

saig0 commented Nov 29, 2022

Problem you would like to solve

Since Camunda Platform 8.2, a BPMN script task can define an inline FEEL expression. If the process instance enters the script task then it evaluates the FEEL expression and writes the result in a process variable with the given name.

Sample XML:

<bpmn:scriptTask id="Activity_1f7zluu">
    <bpmn:extensionElements>
        <zeebe:script expression="=today()" resultVariable="result"/>
    </bpmn:extensionElements>
</bpmn:scriptTask>

Previously, a script task could define only a job type and job retries. The new option to define an inline FEEL expression is an alternative implementation of the script task. It is similar to the different options for a BPMN business rule task.

I want to model a process that contains a script task with an inline FEEL expression.

Proposed solution

Alternatives considered

None.

Additional context

@saig0 saig0 added BPMN enhancement New feature or request labels Nov 29, 2022
@nikku
Copy link
Member

nikku commented Nov 29, 2022

Cannot be happier to see this issue open. A good day for users of Camunda 8. 🎉

@nikku nikku added Camunda 8 Flags an issue as related to Camunda 8 ready Ready to be worked on labels Nov 29, 2022
@nikku
Copy link
Member

nikku commented Nov 29, 2022

As I understand this will be released with the next zeebe alpha? If not, please clarify.

@CatalinaMoisuc
Copy link
Member

fyi, issue added to the breakdown of the Product Hub epic: https://github.com/camunda/product-hub/issues/511.

@barmac barmac self-assigned this Nov 30, 2022
@barmac
Copy link
Contributor

barmac commented Nov 30, 2022

If I select the Camunda Platform version 8.2 for my BPMN process then I want to choose the implementation of a new BPMN script task.

The way we handle unsupported features in Desktop Modeler is via linting rules, i.e. you are still able to select the unsupported feature but you see an error on the diagram. This is how I'd implement this.

barmac added a commit to camunda/zeebe-bpmn-moddle that referenced this issue Dec 1, 2022
barmac added a commit to camunda/zeebe-bpmn-moddle that referenced this issue Dec 1, 2022
@barmac
Copy link
Contributor

barmac commented Dec 5, 2022

This one will not make it to the 5.6 release.

@nikku nikku added this to the M60 milestone Dec 9, 2022
@barmac
Copy link
Contributor

barmac commented Dec 19, 2022

With all tasks done, this will be part of the next release.

@barmac barmac added the fixed upstream Requires integration of upstream change label Dec 19, 2022 — with bpmn-io-tasks
@barmac barmac removed the ready Ready to be worked on label Dec 19, 2022
philippfromme added a commit that referenced this issue Jan 3, 2023
philippfromme added a commit that referenced this issue Jan 4, 2023
philippfromme added a commit that referenced this issue Jan 4, 2023
@bpmn-io-tasks bpmn-io-tasks bot removed the fixed upstream Requires integration of upstream change label Jan 4, 2023
lzgabel pushed a commit to lzgabel/camunda-modeler that referenced this issue Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BPMN Camunda 8 Flags an issue as related to Camunda 8 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants