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 » Using a SubFlow twice in a MainFlow setting UDPs differently

Post new topic  Reply to topic
 Using a SubFlow twice in a MainFlow setting UDPs differently « View previous topic :: View next topic » 
Author Message
Seb
PostPosted: Thu Aug 20, 2009 1:56 am    Post subject: Using a SubFlow twice in a MainFlow setting UDPs differently Reply with quote

Apprentice

Joined: 27 Mar 2009
Posts: 41

Hi,

I am using a subflow twice in a mainflow for normal output and failure output. The subflow provides several User Defined Properties to configure it in the mainflow. Hence, I promoted the same UDPs with different names in the mainflow (e.g. LogKey -> Output and Failure).

Now, when the message takes the failure path, the LogKey is still set to Output. I already played around with the scope of the User Defined Properties declared in my ESQL. Nevertheless, either they are defined on schema or on module level, they are still not set with the right value from the Promoted Property.

What am I doing wrong?

Cheers,
Seb
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Thu Aug 20, 2009 2:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Promoting them with different names... did you show that the names appear in the bar file. If they do not you may have to declare them as UDPs in the main flow...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Seb
PostPosted: Thu Aug 20, 2009 2:23 am    Post subject: Reply with quote

Apprentice

Joined: 27 Mar 2009
Posts: 41

Yupp, they appear in the BAR, where they have different values.

With regard to the promoted properties, I have for example:

OutputLogKey <-- SUB_MqOutput.LogKey

FailureLogKey <-- SUB_MqOutput1.LogKey

Where LogKey is the UDP defined in the SUB_MqOutput flow and declared in that flow's ESQL.
Back to top
View user's profile Send private message Send e-mail
Seb
PostPosted: Thu Aug 20, 2009 2:53 am    Post subject: Reply with quote

Apprentice

Joined: 27 Mar 2009
Posts: 41

Hmmmm,

after chatting with a colleague I specified the values directly on the SubFlow Nodes ... without promoting.

And *tata* it works!!!

So what does promotion change in that context?

I simply used the promotion feature to group the variables of the same SubFlow types under logical tabs in the Main Flow's properties view.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Using a SubFlow twice in a MainFlow setting UDPs differently
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.