cancel
Showing results for 
Search instead for 
Did you mean: 

Write Variables in HCI not working.

Former Member
0 Kudos

Hi,

I am creating an HCI I-flow in which I need to save some values from incoming XML message in a global variable so that I can use it further in a content modifier. I have applied the "Write Variables" block for saving the data. When the scenario runs I am unable to see any value in the global data store nor am I able to use it in content modifier.

Can anyone help with this issue?

Thanks,

Swati

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Swati

Another alternative would be to use a Content Modifier and set the incoming values as properties. These properties are then available in subsequent steps.

Rgds

Eng Swee

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Swati,

I faced this problem before too.

In my case the expression in the Write Variable statement was not correct (or not filled at runtime). You'll only be able to see the stored variable in the store (via eclipse) if it really writes a value.

Unfortunately it seems not to fail if there's no value at run time.

Properties might be an alternative as Eng stated, but only if you don't need to share the value between Iflows globally (which is the variable for)

Hope that helps

With best regards

             Sebastian