User task - complete vs discard

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2013 11:09 AM
The following is scenario of my workflow
- a service task is executed (which includes connecting to a webservice)
- In case of exception an user task is created
- user task must allow the user either to
- discard the user task (ignore the failure and proceed on)
- complete the user task (retry the service task)
I checked the documentation, I couldn't see any possibility of discarding an user task and a subsequent flow control based on it. Any suggestion on how to implement this.
Thanks.
- a service task is executed (which includes connecting to a webservice)
- In case of exception an user task is created
- user task must allow the user either to
- discard the user task (ignore the failure and proceed on)
- complete the user task (retry the service task)
I checked the documentation, I couldn't see any possibility of discarding an user task and a subsequent flow control based on it. Any suggestion on how to implement this.
Thanks.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2013 02:54 AM
You can have a form on the user-task that has a form-field with "Discard" or "End" (or complete the user-taks passing in a variable containing the choice if you're using your own UI-technology).
After the user-taks, you can have an exclusive-gateway which flows back to the service-task in case the variable has a certain value.
After the user-taks, you can have an exclusive-gateway which flows back to the service-task in case the variable has a certain value.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2013 03:06 AM
Why do you want to discard? Simply give the option in the form for the usertask 'discard' and have a sequence flow going to the next step.
