|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
need help on modeling, thx. |
« View previous topic :: View next topic » |
Author |
Message
|
shengze |
Posted: Sun Feb 22, 2004 6:35 pm Post subject: need help on modeling, thx. |
|
|
Novice
Joined: 10 Jul 2003 Posts: 10
|
It a real customer's requirement, and seeking for your help.
The 3 subflows will triggered at the same time. And some subflows will depend on the others, for ex, b2 node require the result from subflow A, c4 node need result from subflow B.
+- a1-->a2 sub flow A
| |
s-+- b1---+->b2-->b3 Sub flow B
| |
+- c1-->c2-->c3--+->c4 Sub flow C
The problem is the requirement for business altering. When got change request, all the subflow undergoing will need take action corresponding, some will continue on, some will restart from the begining. For example, the current status:
subflow A, finished
subflow B, b3 is to be executed
subflow C, c3 is to be executed
Then a change request comes, subflow A need re-execute again, subflow B need stopping and execute from beging again, and subflow C keeps going on.
In the real situation, which one will be cancelled, which one will continues, which one will repeat again depends on the situations.
I am suffering from it's modeling for several weeks, can anyone here give me some advice, thanks a lot.
shengze |
|
Back to top |
|
 |
jmac |
Posted: Mon Feb 23, 2004 5:49 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
If I am understanding what you are saying correctly, then I do not think this will be something that can be easily modeled.
For instance there is no easy way that you can have the b subflow running in parallel with A and have b2 get the result from subflow A. The best you can do is to run B1 in parallel with A. There may be other "tricky" ways to do this but it will not be simple.
Also, your requirement to restart parts of the subflow, is not going to be easy to implement. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Mon Feb 23, 2004 1:45 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
As John already stated already there is no easy way ( or direct approach) to handle your requirements.
You can have SubProcess A write the data to some location and have B2 poll for that data.
Quote: |
Then a change request comes, subflow A need re-execute again, subflow B need stopping and execute from beging again, and subflow C keeps going on.
|
You can manually restart Subprocess A and B and leace C running. It only adresses the scenario you explained but as you said depends on your requirements. _________________ -Ratan |
|
Back to top |
|
 |
shengze |
Posted: Tue Feb 24, 2004 1:37 am Post subject: |
|
|
Novice
Joined: 10 Jul 2003 Posts: 10
|
Keeping the subflows in seperate process and passing control data by Database between subflows perhaps is the way out, I will consider more about the details.
Thanks for your hints.
shengze |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|