Get workflow id in page author mode
Hi ,
Is there any way to get workflow ID in edit mode of a page when logged in as a content author. Without servlet call to query the available workflows.
AEM version : 6.5
Thanks
Hi ,
Is there any way to get workflow ID in edit mode of a page when logged in as a content author. Without servlet call to query the available workflows.
AEM version : 6.5
Thanks
you can use resource-status api to get running workflow for current page
e.g. for content/AEM63App/fr
http://localhost:4502/resource-status/editor/content/AEM63App/fr.1.json
If page is part of workflow it returns response something like below:
{"0":{"statusType":"workflow","statusPriority":10000,"shortMessage":"demo-email","variant":"info","i18n.message.snippets":["demo-email"],"title":"Workflow","message":"This page is subject to the workflow <i>{0}<\/i>"}}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.