Get Previous ActivityID
Confluence User - 21 Aug, 2017
Hi Guys,
Hope you can help.
I need to resolve the Previous Activity's (ActivityID).
I can do this in a Bean Shell Tool, but i am only able to resolve the current ActivityID as per below.
import org.joget.workflow.model.service.*;
WorkflowManager wm = (WorkflowManager) pluginManager.getBean("workflowManager");
wm.activityVariable(workflowAssignment.getActivityId(),"wfactivityId", "#assignment.activityId#");
My objective is to embed a hyperlink with the URL containing the previous ActivityID.
Thanks in advance.
Regards,
Ernest.
userviews