Hi,
I just want to set rule to OR split branch. I tried accessing work Item in my script,but I am getting Reference Error for WorkItem.
For my requirement I just want to take a decision based on previous participant step comments. I used below code to get history from work Item.
var history = workflowSession.getHistory(workItem.getWorkflow());
Is it correct way to achieve this?.
Error: Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "workItem" is not defined.
Please guide me how to proceed with this
Thanks!
Kirithi