Author |
Message
|
srikanth2007 |
Posted: Thu Mar 24, 2016 11:07 am Post subject: loosing saved information fron local environment |
|
|
Newbie
Joined: 10 Dec 2015 Posts: 9
|
Hai, I'am loosing some information that has been saved to the local environment after giving the http call. it never happend to me before. Anyone know what might be the reason?? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 24, 2016 12:01 pm Post subject: Re: loosing saved information fron local environment |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
srikanth2007 wrote: |
Anyone know what might be the reason?? |
Under what circumstances? Has the HTTPRequest (for example) timed out? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
srikanth2007 |
Posted: Thu Mar 24, 2016 12:03 pm Post subject: |
|
|
Newbie
Joined: 10 Dec 2015 Posts: 9
|
No, I got the output, I have four index values in the local environment under particular field, after getiing the output I was remained with only first index value, I lost remaining three |
|
Back to top |
|
 |
timber |
Posted: Thu Mar 24, 2016 12:57 pm Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
I would do it this way:
1. Add some Trace nodes to your flow, and leave their Destination pointing to User Trace. Make sure that the Trace nodes are logging the LocalEnvironment.
2. Take a user trace and look carefully at the contents of the LocalEnvironment at each point in the trace.
You may find it easier to use the debugger, if you can reproduce the problem while the debugger is attached. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Mar 24, 2016 1:38 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You might contemplate moving that information from the LocalEnvironment tree to the Environment tree. The Environment tree is not prone to need replication (from Input to output) when changed in a compute node. (Note that IIRC java compute handles the local environment differently from ESQL Compute...)
And you are not likely to have differences whether your path was successful or encountered an exception... which is why the Environment tree makes for a good trace to look at how far you got on the happy path before hitting the exception if you so choose...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|