Author |
Message
|
vijpan |
Posted: Fri Aug 04, 2006 8:09 am Post subject: How to Revert back to the previous activity |
|
|
Novice
Joined: 14 Feb 2005 Posts: 22
|
MQ Workflow 3.6 SP2
These are some of the information for different processes we are creating.
a)User assignment is dynamic from container variable
b)We are using UPES to invoke our user assignment progrem and pass that as an output to the activity which will be used for assigning the user.
c)99% of the time we will having around 4 to 5 program activity in each process.
We have a requirement for almost all the process that we have to design is to have a capability where a certain exit condition from every second activity onwards to be able to revert back to the previous activity and assign to the same user of that previous activity.
Do you think that this can be done with block, but i am having apprehension like how it will be achievable as from second activity onwards each of the activity needs to be present in 2 blocks ??
For the userid, we can do some trick with another container memebr like "previousUserId" so that it gets assigned to the same previous user
Is there a simple way out of this.?
Thanks
Last edited by vijpan on Sat Aug 05, 2006 8:24 pm; edited 1 time in total |
|
Back to top |
|
 |
kotha |
Posted: Fri Aug 04, 2006 12:37 pm Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
Using Blocks is a good idea here. Make use of conditions and containers. You have to understand what your business process is. |
|
Back to top |
|
 |
vijpan |
Posted: Fri Aug 04, 2006 2:10 pm Post subject: |
|
|
Novice
Joined: 14 Feb 2005 Posts: 22
|
Thanks kotha for the reply.
I am still not sure how block will turn out in this case.
For eg. lets say we have 3 activities A, B, C in a process.
A-->B-->C
Now we need to have a design where we can revert from B to A and from C to B ( it will be made sure that C to B to A -- does not happen in a chain)
Now if we build block activity, then activity B needs to fall in 2 seperate blocks?
Now how to resolve this?
Thanks |
|
Back to top |
|
 |
Ratan |
Posted: Mon Aug 07, 2006 8:20 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
No Simple way out with out without a lot of customization _________________ -Ratan |
|
Back to top |
|
 |
jmac |
Posted: Mon Aug 07, 2006 8:29 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Blocks are the only way to make this happen _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
vijpan |
Posted: Wed Aug 09, 2006 4:56 pm Post subject: |
|
|
Novice
Joined: 14 Feb 2005 Posts: 22
|
Thanks for all the info. Will look more into Blocks then to how to customize them. |
|
Back to top |
|
 |
|