|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Buildtime Design |
« View previous topic :: View next topic » |
Author |
Message
|
Rajesh_Kotthari |
Posted: Tue Dec 09, 2003 6:10 am Post subject: Buildtime Design |
|
|
Newbie
Joined: 30 Oct 2003 Posts: 8 Location: New York
|
I have a simple buildtime design issue.
I have 4 activities in my model. Say the activities are A, B, C, and D. All 4 are UPES activities. My requirement is, activity D should to be executed 3 times, each after the execution of A, B, and C.
How do I design this?
I know I can achieve this by putting 3 program activities for activity D and by defining parallel connectors, like
1) A --> B and A-->D
2) B --> C and B-->D
3) C --> D.
I want to know, can we put only one prgram activity for D and still achieve this? If yes, how do we define the control connectors? |
|
Back to top |
|
 |
mike_mq |
Posted: Tue Dec 09, 2003 2:07 pm Post subject: |
|
|
Centurion
Joined: 17 Oct 2003 Posts: 123
|
Put the UPES Activity "D" in a block and give the exit condion, say COUNT>4. Use this element in the Data structure using by BLOCK and increment this element it in your UPES Program, initiating with 0. |
|
Back to top |
|
 |
Andy |
Posted: Tue Dec 09, 2003 10:07 pm Post subject: |
|
|
 Centurion
Joined: 14 May 2003 Posts: 122
|
You can do it by putting all 4 activities in a block plus one more No Operation activity as the first activity of block.
No Operation activity will send flow to either A,B or C respectively in 3 iterations(Based on data connector value like a counter).
And these all are connected to D which is last activity of block.
So you model will something like this
1. No Op->A,No Op->B, No Op->C
2. A->D,B->D,C->D
Hope this is what you want to achieve... _________________
Andy |
|
Back to top |
|
 |
Rajesh_Kotthari |
Posted: Wed Dec 10, 2003 5:40 am Post subject: |
|
|
Newbie
Joined: 30 Oct 2003 Posts: 8 Location: New York
|
Andy,
I got it what you said. I can work it out in your way.
mike_mg:
My requirement is D should be executed 3 times, each after the execution of A, B, C. With your solution, I think D executes 3 times continuously, but not parellally after the execution of A, B, C.
Anyway Thanks a lot for the responses.
Rajesh.
IBM MQSeries Specialist |
|
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
|
|
|
|