on 09-02-2014 10:31 PM
Hi guys, I´m working with a design of a BPM flow where I can have an human activity but if a Message Event arrives all the process must continue even if the human activity is not completed, I try already multiple ways but the human activity never ends, I tried the following.
1.- Parallel Split -> Message / Human -> Notification -> End : Result : the human activity never end, so the process never end even if we receive a message the notification (email notification) never arrives.
2.- Parallel Split -> Message / Human -> Uncontrolled Merge -> Notification : Result : Not the scenario we want, the Uncontrolled Merge by default wait the two task to complete.
3.- (Cancelation Pattern) Subprocess ( parallel split -> Message / Human) -> Terminate :Result : no intermediate messages are posible inside a subprocess.
Any help will be appreciated.
Thanks !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Considering the 3rd point, Intermediate message events are not allowed in Embedded sub-processes but are allowed in Referenced Sub-processes.
You can place an automated activity after the Human task in parallel with the intermediate message where the WSDL of the Automated Activity will be same as the Trigger WSDL of the intermediate message event. The input mapping in this automated activity should be same as the correlation condition of the Intermediate Message.
Implementing this, the Intermediate Message and the Automated Activity will mutually trigger each other.
So, if the Human task-->Automated Activity and the Intermediate message are in parallel, and if the Intermediate message receives a trigger message, it will automatically bring the process-execution from the Human Activity to the Automated activity and the process will go on.
Please remember, a parallel split must always have a corresponding parallel join.
Refer these threads for more detailed help:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
not enough information...cannot give u detail design
for the first one, if you set the the end event as termination, your human task should be gone when process reach that event
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.