How to read variable (xml) from workflowEvent | Community
Skip to main content
Level 2
Sep 28, 2017 3:50 PM UTC

How to read variable (xml) from workflowEvent

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.

6 replies

Marcel_Szimonisz
New Participant
Oct 2, 2017 12:13 PM UTC

Hello,

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

instance.vars.CELL_OFFSET

Marcel

Translate
kaushal13Author
Level 2
Oct 2, 2017 1:01 PM UTC

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

Translate
Marcel_Szimonisz
New Participant
Oct 2, 2017 2:07 PM UTC

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

Translate