How to read variable (xml) from workflowEvent | Community
Skip to main content
Level 2
September 28, 2017

How to read variable (xml) from workflowEvent

  • September 28, 2017
  • 1 reply
  • 9170 views

In workflow event , there xml variable which contains data.

I want to read those data to get some info out of it . How can i parse this data because when i try to check in event schema this variable is not present because data is not stored in data schema.

Thanks,

Kaushal

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Marcel_Szimonisz
Community Advisor
Community Advisor
October 2, 2017

Hello,

You can access them by instance.vars. ...

instance.vars.CELL_OFFSET

Marcel

kaushal13Author
Level 2
October 2, 2017

Thanks Marcel for pointing how to use it , I guess instance variable in java script ,  can you please help with one example so i can explore further.  Thanks

Marcel_Szimonisz
Community Advisor
Community Advisor
October 2, 2017

Hello Kaushal,

You can consider them as global variables which can be used not only by downstreem activities but anywhere in in the wf instance see more below:

JavaScript scripts and templates

How to use an instance variable in a workflow Split activity

PS:

- you can also pass them from one runtime to another of the same wf

Marcel