Thanks for your reply,
The variable element is only dealing with variables copy from the super process to the sub one :( . I was looking for a simple way to initialize the subprocess instance's key by using the super process instance's one.
I could handle this issue by implementing 2 handlers, listening to the subprocess creation event and to the process start event in the subprocess.
The first copies the key into the variable map, and the second uses the "key" variable to set the instance's key
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166575#4166575
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166575
Hi All,
We have a sitution in our company to create workflow on the fly and we cannot create processdefinition.xml file and then deploy this processdefinition.xml to the database....
In our case we have very flexible model so that we have to create the workflow processdefinition on the fly and then deploy to the jbpm...
I need help urgently... please do help me as soon as possible as we have big pressure from my project manager :D
Regards
Anees
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166549#4166549
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166549