Hello,
I have created the process using sub process concept, throwing and catching signal events.
In my first sub process i have first task as Draft, in this task if i click on "injury report" it starts sucessfully 2nd sub process for the first time, in this 2nd sub process after completing first task("Draft Injury") it returns to 1st sub process by sending data through script task and that pushes in the dynamic table of the "Draft" task, as well as 2nd sub process next task("Investigate Injury") starts. After returning to 1st sub process if i click again on "injury report" it will not start the 2nd sub process again it will redirect to 2nd sub process "Investigate Injury" instead of "Draft Injury".
Here I have attached my app. Kindly anyone help me out in this.
Thanks
Amruta Wandakar
Hi Amruta,
It is quite a lot of work to download your app and test that complex process. you should be able to isolate the problem to see if there is a bug in the engine or if it is a problem with your model.
It is not even clear what you are trying to do with those two subprocesses, this is what I'm understanding for just looking at the diagrams:
1) You have a parallel gateway which start both subprocesses at the same time when the process is started.
2) you are using signals to move the 2nd subprocess forward
Notice the 2nd subprocess is created by the parallel gateway and not the signal, meaning that you are not creating new subprocesses instances when you do the signal from the first gateway, meaning that at the end of the day you just have one instance of the 2nd subprocess and that might explain why you are not getting the behaviour that you are expecting.
I would recommend to completely separate those processes into separate diagrams and not to use gateway for starting the subprocesses if that is really what you want to achieve.
Thank you for your reply. Here I have explained simple example of an Interview Process.
Requirement :
P1
P2
Solutions I have tried
Looking forward for your kind assistance.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.