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 » Subflow NodeLabel issue

Post new topic  Reply to topic
 Subflow NodeLabel issue « View previous topic :: View next topic » 
Author Message
bdrummond
PostPosted: Tue Apr 07, 2015 2:30 am    Post subject: Subflow NodeLabel issue Reply with quote

Disciple

Joined: 06 May 2004
Posts: 164

I am having a small issue when trying to capture the name of a particular node within a subflow.

Eg: Main Flow calls a subflow with a name of ‘SubFlow1’ but we have labelled the subflow node ‘SFNode1’

Within this subflow, there is a compute node labelled ‘compute’.

If I use the ESQL variable ‘NodeLabel’ in this compute node, the string ‘SubFlow1.compute’ is returned.

However, when the same code was used back in 6.1, the returned value was ‘SFNode1.compute’.

I have imported the flow into IIB v 9.0.0.2, converted all subflows to a *.subflow file and I no longer see the same variable value as I used to.
If I don’t convert the subflows and check the ‘Compile and in-line resources’ box on the BAR file, I see the 6.1 behaviour with the NodeLabel.

Can anyone shed any light on what may be the issue or is this simply something that has changed in newer versions of WMB/IIB..?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 07, 2015 4:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I think you should rewrite your subflow to use a configurable property/udp instead of relying on the name of the node as configured in the flow.
Back to top
View user's profile Send private message
bdrummond
PostPosted: Tue Apr 07, 2015 5:14 am    Post subject: Reply with quote

Disciple

Joined: 06 May 2004
Posts: 164

Looks like that is what we may have to do. These are old flows that have been running for some time (v6.1) so changing them was something we didn't want to do.
I was just intrigued about the change in behaviour with IIB v9
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 07, 2015 5:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

.subflow files are deployed separately unless you compile and in-line them.

This means that they are not a direct part of any flow that calls them. And so they take the names of the nodes in the subflow itself, rather than from the names of the instance of the subflow in a given message flow.
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 » Subflow NodeLabel issue
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.