on 06-16-2011 11:48 AM
Hi there,
one quick question:
I have a approve/reject WDJ screen linked to a human activity.
To avoid having too many ExclusiveChoice gateways in my BPM, I tried to use the WDJ error event as boundary event in my BPM.
This event is fired when the user clicks on the reject button.
But if you do so, the user gets the following message on the screen:
Modeled error event triggered by embedded application: Corresponding error handling started for this task
Is that always the case when I use a boundary event in a human activity?
If so, that's not nice for the users to see that error message after rejecting a request.
So the only way to handle rejections in BPM properly is to use Exclusive Choice gateways?
Thanks in advance!
Hi,
this is a known issue. Howver, I cannot say when and how exactly this will be addressed. So, unfortunately for you it is the way howfiring boundary events get displayed to a user.
Regards,
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
thanks for answering.
I've found a simple workaround for that issue:
In my main process I call a referenced sub-process "Approval step" which includes my human activity together with an exclusive choice gateway "Approved?".
This gateway has two gates: "Yes" goes to normal end event, "No" goes to an error event.
If the user rejects, the sub process runs into an error event, which can be handled in my main process as a boundary event.
The only tricky thing is in my opinion the creation of the service interface/message trigger for that referenced sub-process.
You have to make sure that the service interface has a fault message, so that the referenced sub-process can have a boundary event.
Unfortunately there's another weak point for using referenced sub-processes:
When an approver adds a note to his task, then the next approver doesn't see this note, because it's nother process instance of the sub-process.
So infact, if users want to have an overview about process' history, you have to model everything in one single process?
Is that right?
That can be quite confusing because of the size of the process.
Yes, this is the case. It might also be not desired for task owners to see the full process, i.e. for security reasons.
In that case a references subflow can restrict the visibility.
For keeping your process model manageable you can use the embedded subflow as container and expand/collapse as needed.
Maybe somebody else knows a better solution...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.