Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2014-08-19T08:57:09Z by Arnab_Ghosh
devdp
devdp
37 Posts
ACCEPTED ANSWER

Pinned topic var://service/error-code is getting changed

‏2013-01-09T03:29:42Z |
Hi,

I am trying to create the customized error block based on this "var://service/error-code".
When invalid JSON is sent as request the flow should go to the error rule.
In the error rule I am trying to call another rule which has "errorhandling.xsl-- This creates the Error block based on the var://service/error-code".
As this variable is getting changed I am unable to build the Error message block.
When I look into the probe
1) The main error-rule the variables are as below:
var://service/error-code --- "0x0213000e"
var://service/error-subcode --- "0x0213000e"
2) The call-rule in main error-rule as below:
var://service/error-code --- "0x00000000"
var://service/error-subcode --- "0x0213000e"

Instead of calling rule I used the same transform action directly in the main error-rule where it is working as expected the "var://service/error-code" is not getting changed.

Don't know what went wrong only "var://service/error-code" variable is getting changed only in case when I am calling another rule.

dev
  • Arnab_Ghosh
    Arnab_Ghosh
    94 Posts
    ACCEPTED ANSWER

    Re: var://service/error-code is getting changed

    ‏2014-08-19T08:57:09Z  in response to devdp

    Hi,

    I am also failing the same issue. Is there any way to do this? Or i need to store the variable var://service/error-code and var://service/error-message in a context and use it later?