AnsweredAssumed Answered

workflow level variable

Question asked by purohitsumit on Apr 15, 2014
Latest reply on Apr 15, 2014 by romschn
Hi All,

I am trying to create a custom workflow and looking for way to create workflow level variable to store state of workflow. I am looking for an enum kind of variable with 8 custom states.

Is there a way to set it in the workflowModel.xml file ?

I agree that I do find "process variable" available in workflow.bpmn file as



<script>var scwf_approveCount = 0; var scwf_tpApproved = false;</script>



But I would prefer adding workflow level variable in model definition instead of adding enum variable in javascript of workflow definition file.



Thanks
Sumit Purohit

Outcomes