AnsweredAssumed Answered

Dynamic process Id generation

Question asked by hyapit on May 29, 2013
Latest reply on Jun 4, 2013 by hyapit
Hi guys,

I'd like to be able to programmatically generate process-id dynamically at runtime. You can't seem to use ${process_variables} to do this within .bpmn20.xml file – I got XML parse exception doing this. Is there any other way in XML / Java API that allows this before a Deployment is deployed?

My workaround is to parse .bpmn20.xml into String, replaced the Id myself, before converting it back into InputStream for Bpmn parsing, but I'm hoping to get better suggestion.

Thanks!

hussein

Outcomes