Expression to access information of/from a process or process model

Is there a way to use an expression to access information of/from a process or process model?

Basically I'm trying to create an expression where you input a process model number and it returns a certain process variable for all active processes in the model.

I know this could be done by creating a process backed record and then querying the record. But can this be done without creating records just in the expression editor?

OriginalPostID-138979

OriginalPostID-138979

  Discussion posts and replies are publicly visible

Parents
  • Hi, if all you want is to interact with any process dynamically to get the value of any process variable of the instance - then you can make use of a custom plugin available named - Get External Activity, which will need a process instance Id to be interacted and the name of the process variable whose value you need to fetch as the inputs.

    Having said that, in order to use this, you should have the process instance Id with you at this time with which the value needs to be fetched.
Reply
  • Hi, if all you want is to interact with any process dynamically to get the value of any process variable of the instance - then you can make use of a custom plugin available named - Get External Activity, which will need a process instance Id to be interacted and the name of the process variable whose value you need to fetch as the inputs.

    Having said that, in order to use this, you should have the process instance Id with you at this time with which the value needs to be fetched.
Children
No Data