Accessing Variables in OR-Split ECMA script | Community
Skip to main content
October 16, 2015
Solved

Accessing Variables in OR-Split ECMA script

  • October 16, 2015
  • 1 reply
  • 911 views

Hi,  

I want to access a variable that was added to the workflow data  by a process step (as shown below).

workItem.getWorkflow().getMetaDataMap().put("next_step", "3");

How can this data "next_step" be accessed in a later occurring OR-Split Ecma script to make some decision about the routing?

Thanks,

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

Hi a singh.

I think http://dev.day.com/docs/en/cq/current/workflows/wf-extending.html#par_title_0 has the sample you need.

Cheers -- David

1 reply

DavidCo28Accepted solution
Employee
October 16, 2015

Hi a singh.

I think http://dev.day.com/docs/en/cq/current/workflows/wf-extending.html#par_title_0 has the sample you need.

Cheers -- David