rollback question??
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2011 11:04 PM
hi!
I have a request like this:
process define: start event->Task A->Task B->Task C->end event
I need to rollback to Task A when Task B completed.
how to do this?thanks!!!
I have a request like this:
process define: start event->Task A->Task B->Task C->end event
I need to rollback to Task A when Task B completed.
how to do this?thanks!!!
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2011 04:03 AM
if you do some manual db operation on task b, you have to rollback manually.
create a xor gateway between b and c, create a xor gateway in front of a
X-C , you can specify condition on the path (when should the gateway pass the execution to C)
create a xor gateway between b and c, create a xor gateway in front of a
Start-X-A-B-X-C-End
|__R__|
X-C , you can specify condition on the path (when should the gateway pass the execution to C)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2011 04:32 AM
well,can i rollback task from B to A?
rollback.png
10 KB
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2011 10:37 PM
You can, click the "rollback" line, in main config, you can type your condition.
for example you set a process variable name "rollback"
in the condition, you can type "${rollback}" without double quote, then the process engine will check if rollback is true in your execution, if that is true, it will forward the execute back to Task A.
For the "go" line, type ${!rollback}
in fact, it is not a rollback, it is a re-execution of task A. hope this help.
for example you set a process variable name "rollback"
in the condition, you can type "${rollback}" without double quote, then the process engine will check if rollback is true in your execution, if that is true, it will forward the execute back to Task A.
For the "go" line, type ${!rollback}
in fact, it is not a rollback, it is a re-execution of task A. hope this help.
process_0.png
17 KB
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2011 02:17 AM
You can, click the "rollback" line, in main config, you can type your condition.
for example you set a process variable name "rollback"
in the condition, you can type "${rollback}" without double quote, then the process engine will check if rollback is true in your execution, if that is true, it will forward the execute back to Task A.
For the "go" line, type ${!rollback}
in fact, it is not a rollback, it is a re-execution of task A. hope this help.
got it!!thanks a lot!!!
