Hi all,I have a advanced workflow and a snip of model for it is the following: <type name="wfrup:assegnaLocaleState">
<parent>bpm:workflowTask</parent>
<properties>
<property name="wfrup:idWorkflowRup">
<type>d:text</type>
</property>
</properties>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
<type name="wfrup:doSomethingState">
<parent>bpm:workflowTask</parent>
<properties>
</properties>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
I would "doDoSomethingState" automatically have "idWorkflowRup" properties set as it has been set in "assegnaLocaleState" before transition toke place.To undertsand I have following code:Map<QName, Serializable> workflowProps1 = new HashMap<QName, Serializable>();
workflowProps1.put(FaseUnoModel.PROP_RUP_WORKFLOW_ID, idRup);
workflowService.updateTask(wfTask, workflowProps1, null, null);
this.workflowService.endTask(wfTask.id, "transition1");
that set idWorkflowRup in wfTask (assegnaLocaleState), update the task and end it. I would next task have same idWorkflowRup property set to idRup value also.How can I get it? If I replicate the property in model I get a bootstrap error in workflow deployment
Thanks for attention, I'm sure you can help me 🙂Have a nice week end!