get running workflow on a page
How to get if there is any running workflow on a page programatically?
How to get if there is any running workflow on a page programatically?
Hi,
You can adapt your current resource to WorkflowStatus and get running workflow Information for current page,
e.g
final com.adobe.granite.workflow.status.WorkflowStatus wfState = resource.adaptTo(WorkflowStatus.class);
you Can use this method to check if any running workflow
wfState.isInRunningWorkflow(false)
and wfState.getWorkflows(false); to get running workflow information.
Thanks
Dipti Chauhan
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.