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 IndexWebSphere Message Broker SupportSublow using REST Async RequestLoses Environment Memory Tree

Post new topicReply to topic
Sublow using REST Async RequestLoses Environment Memory Tree View previous topic :: View next topic
Author Message
EricCox
PostPosted: Fri Dec 14, 2018 10:47 am Post subject: Sublow using REST Async RequestLoses Environment Memory Tree Reply with quote

Master

Joined: 08 Apr 2011
Posts: 290

To all,

Mainflow>subflow>Environment_Exists>REST Async Request>
>REST Asyn Response>Environment_Is_Lost>Compute>Set Environment.Var1>Come out of Subflow>Mainflow has Env.Var1 but original Environment is lost.

So as you can see I go from a mainflow to a subflow which sends some Environment Variables into the subflow. That all works. I use the Environment Variables to set the REST Async Request, make the call, get a Response. In the case where I get a 204 (No Content) or a 200 I set an Environment Variable for the customer number. Then back in the mainflow I use the check to see if the Customer Number exists in a Filter node. If it exists I return the response. If there is no customer number I need to go to the system of record using the original values from the Environment Tree. For some reason the original environment variables are lost in the subflow once the REST Async Request node is called. How can I recover or copy those original Environment memory tree values so I can retrieve them after the subflow executes.

I need a couple of hints about how to persist those values so I can use them when the subflow doesn't return a 200 with the customer number present.

Thanks much,
EC
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Dec 14, 2018 12:01 pm Post subject: Re: Sublow using REST Async RequestLoses Environment Memory Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25485
Location: Ohio, USA

EricCox wrote:
I need a couple of hints about how to persist those values so I can use them when the subflow doesn't return a 200 with the customer number present.


In the extreme scale memory grid would be my thought.

Other solutions are possible and may be better than this.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
timber
PostPosted: Fri Dec 14, 2018 4:31 pm Post subject: Reply with quote

Guardian

Joined: 25 Aug 2015
Posts: 941

Have you read this?
https://www.ibm.com/support/knowledgecenter/en/SSTTDS_11.0.0/com.ibm.etools.mft.doc/bz90920_.htm
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportSublow using REST Async RequestLoses Environment Memory Tree
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.