Author |
Message
|
ramnagab |
Posted: Fri Nov 19, 2004 3:29 pm Post subject: Subflow |
|
|
Apprentice
Joined: 14 Sep 2004 Posts: 46
|
Hi
How can I link a sub flow to the parent flow ?
I know I should add a subflow node (the subflow representation in the main flow) to the parent flow .
but how the broker knows that the subflow node in the parent flow representing which sub flow ?
Thanks |
|
Back to top |
|
 |
JT |
Posted: Fri Nov 19, 2004 3:55 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
To add a subflow to a message flow:
1. Switch to the Broker Application Development perspective.
2. Open the message flow that you want to work with.
3. Drag and drop the message flow from the Navigator view into the editor view. Alternatively, highlight the embedding message flow and click Edit > Add subflow, which displays a list of valid flows that you can add to the current flow.
4. Select the flow that you want to add from the list. The subflow icon is displayed with the terminals that represent the Input and Output nodes that you have included in the subflow.
5. Click OK.
6. Repeat steps 3, 4, and 5 to add further subflow nodes.
7. Select and open (double-click) the flow by name in the Navigator view, or right-click the embedded flow icon and select Open Subflow to work with the contents of the embedded flow
When you have added the nodes that you want in this message flow, you can connect them to specify the flow of control through the message flow, and you can modify their properties. |
|
|
Back to top |
|
 |
Nizam |
Posted: Fri Nov 19, 2004 8:55 pm Post subject: |
|
|
Disciple
Joined: 10 Feb 2004 Posts: 160
|
I think you should also set the project references.
Right click the main flow. Check the sub flow you just created.
Then do what JT suggests. |
|
Back to top |
|
 |
rkford11 |
Posted: Fri Jan 14, 2005 12:11 pm Post subject: |
|
|
Partisan
Joined: 06 Jun 2004 Posts: 316
|
Nizam wrote: |
I think you should also set the project references.
Right click the main flow. Check the sub flow you just created.
Then do what JT suggests. |
When i try to add the sub flow as told by JT, i am able to see the subflow node but with out the terminal to connect to subflow. can u please let me know where i am making the error.
Thanks |
|
Back to top |
|
 |
EddieA |
Posted: Fri Jan 14, 2005 1:55 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
but with out the terminal to connect to subflow |
Does your subflow have the correct Input and Output Terminal Nodes.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
rkford11 |
Posted: Tue Jan 18, 2005 7:40 am Post subject: |
|
|
Partisan
Joined: 06 Jun 2004 Posts: 316
|
EddieA wrote: |
Quote: |
but with out the terminal to connect to subflow |
Does your subflow have the correct Input and Output Terminal Nodes.
Cheers, |
my subflow just consists of an input node followed by an output node. Please correct me.
Thanks |
|
Back to top |
|
 |
JT |
Posted: Tue Jan 18, 2005 8:28 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
i am able to see the subflow node but with out the terminal to connect to subflow. can u please let me know where i am making the error.
|
That usually occurs if you're mistakenly using the MQInput/MQOuput nodes in the subflow, rather than the Input/Output nodes.
Quote: |
my subflow just consists of an input node followed by an output node. Please correct me. |
I don't see how you can have just an Input and Output node connected to each other. Doing so, should produce a Tookit error, within the Tasks Pane: Pass-through connection(s) are not permitted. |
|
Back to top |
|
 |
rkford11 |
Posted: Tue Jan 18, 2005 9:02 am Post subject: |
|
|
Partisan
Joined: 06 Jun 2004 Posts: 316
|
Thanks JT for correcting me,
I have been using MQInput and MQOutput nodes in the subflow.
Thanks Everybody. |
|
Back to top |
|
 |
|