Author |
Message
|
bharath |
Posted: Fri Jun 13, 2003 7:21 am Post subject: Workflow state serialization |
|
|
Newbie
Joined: 27 May 2003 Posts: 4
|
Hi,
Is there any way (using MQWF API or any other mechanism) we can save the state of workflow when the control is at an activity ( not during middle of transition) and reload that state so that Workflow can start control and datapaths from that point? Just like Object serialization in Java or MFC.
In one of our web client applications, users change some of the database values. Our idea is to load or rollback to original state if something goes wrong and wondering if WF has any in-built mechanism to do this.
Thanks,
Bhaarath |
|
Back to top |
|
 |
Ratan |
Posted: Fri Jun 13, 2003 8:15 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
There is nothing that I know of to accomplish this. You can always write your own logic to do this. _________________ -Ratan |
|
Back to top |
|
 |
bharath |
Posted: Fri Jun 13, 2003 11:35 am Post subject: |
|
|
Newbie
Joined: 27 May 2003 Posts: 4
|
Thanks Ratan. I just wanted to make sure that there is nothing provided by MQ WF before going for my own implementation.
-Bhaarath |
|
Back to top |
|
 |
vennela |
Posted: Fri Jun 13, 2003 12:06 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Bharath:
I didn't quite understand what you are trying to accomplish:
This is what my understanding is from your question.
1. User logs onto Workflow
2. The is a work item. This work item can is in ready state
3. Checks out the work item
4. Enters some information
5. Submits
6. Your JSP would do a DB update and checkin the work item
Where is that you see the error can happen so you want to backout the DB changes?
Do you want your Work Item to go back to ready state?
-------
Venny |
|
Back to top |
|
 |
Ratan |
Posted: Fri Jun 13, 2003 12:30 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I think he wants the whole state of the system to RollBack to a previous state. Work flow can accomplish taking the workitem back to ready state, but any systems or applications that are effected may not rollback unless he has some logic to accomplish that. _________________ -Ratan |
|
Back to top |
|
 |
|