cancel
Showing results for 
Search instead for 
Did you mean: 

process variables definition in bpmn xml

kethur
Champ in-the-making
Champ in-the-making
Hi,

Could you suggest a way to define process variables in my xml?  I only saw examples for task definition etc.

I am hoping to define the variables at the workflow definition level and change the values in each workflow process.

Thanks in advance,
Raj
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
No, that's currently not possible

The closest you can get is an execution listener on process start, that is script task, which sets your variables. That way, your process variable definition is 'kind of' part of your xml.