How to define a variable at Process/ Activity/Task level

Hello folks,
How can we (either using the Eclipse Designer or the UI Modeler) define variables in the BPMN process and specify the scope?

In all the test cases on github/flowable, this is done dynamically as shown

There doesn’t seem to be a way to do this in either the modeler or the designer. Also, how do we set the scope?

Thanks
Sanjay

1 Like

@tijs Is my understanding correct that the ability to define and initialize variables is not available in Flowable Open Source?

Hello folks, Can I please get some help? I found the following in the docs

Is there an equivalent Java API?

Hey @srallapally, I am not sure that I understand what you are trying to achieve.

You can use Service Task and its resultVariableName to store variables on the process / activity.

Cheers,
Filip