Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
How to get workitem object ref in ECMA check method?.pls help me on the same.
Solved! Go to Solution.
// querying work items
var
workItems = wfSession.getActiveWorkItems();
workItem = wfSession.getWorkItem(id);
// getting routes
routes = wfSession.getRoutes(workItem);
// delegating
delegatees = wfSession.getDelegatees(workItem);
wfSession.delegateWorkItem(workItem, delegatees.get(0));
// completing or advancing to the next step
wfSession.complete(workItem, routes.get(0));
Reference
View solution in original post
Views
Likes
Replies