ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Triggering flows

Post new topic  Reply to topic
 Triggering flows « View previous topic :: View next topic » 
Author Message
Oops
PostPosted: Sun Feb 08, 2004 1:34 am    Post subject: Triggering flows Reply with quote

Newbie

Joined: 20 Jan 2004
Posts: 9

flow 1:
input node------n2---------n3----------output node

flow 2:
input node1------n4---------n5----------output node1

Suppose both these flows are in the same Message Flow. then, can i access an environment variable set in flow1 inside flow2?

Or else,
how can I trigger the flow2 when certain condition is met in the flow1(and only when it is met)?
note- both the flows have different input Qs with messages in those.

Thanks.
Back to top
View user's profile Send private message
EddieA
PostPosted: Sun Feb 08, 2004 2:04 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Simplistic answer.

1. No.

2. You can't.

Complicated answer. You could probably do both with Custom Nodes. But this is not how WMQI is designed to be used.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Feb 08, 2004 5:46 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

inputnode1--+--filternode --true -- n2 -- n3 -- outputnode1
inputnode2--| --false-- n4 -- n5 -- outputnode2

filter on message properties, or insert a compute node between each input node and the filter node that sets a flag to tell you which node it came in on.

Then you will be able to use logic from both branches for a message showing up at either input node.

But you WON'T be able to aggregate messages this way. One message at one input node per invocation of the entire flow.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kspranava
PostPosted: Sun Feb 08, 2004 5:58 pm    Post subject: MQGET supportpac Reply with quote

Centurion

Joined: 27 Apr 2003
Posts: 124

Hi,

Why dont u give a try using MQGET support pac? Whenever ur condition is met, u cant route the control to the MQGET node to process message(not messages) from a queue which can be the input queue of flow2.

Pranava.
Back to top
View user's profile Send private message
wmqiguy
PostPosted: Mon Feb 09, 2004 7:05 am    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

Product Abuse! Product Abuse!

I think that you'll find that through enough creativity and bending of WMQI design principles, you could make it happen. The bigger question is whether you SHOULD. Your requirements are starting to looking at the "state" of messages. Might be time to start taking a look at Workflow. Maybe the Crossworlds stuff would work, but I'll leave that to someone more qualified.

As my Industrial Arts teacher in the 7th grade said so wisely, "Use the right tool for the job."

Good Luck!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Triggering flows
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.