AEM 6.4 WorkflowStatus Api returning false for running workflow

Avatar

Avatar

vipins5188

Avatar

vipins5188

vipins5188

09-12-2018

Hi All,

We are facing an issue with WorkflowStatus api to get current wf status of a resource.

It works fine when we start a workflow and get running status it return true but when we deploy our code again even though workflow still in running condition ,the api returns us as false.

resource.adaptTo(WorkflowStatus.class).IsInRunningWorkflow(true);

This issue only happening if we redeploy our code.

Any idea what can cause this issue ?? What is happening during bundle deployment which makes this api return status as false even though workflow still running ??

Thanks

View Entire Topic

Avatar

Avatar

vipins5188

Avatar

vipins5188

vipins5188

11-12-2018

Thanks Arun Patidar  smacdonald2008 for your response.

I have got the solution for this issue, actually we are maintaining Adobe Granite Workflow Service configuration and adding one custom group to superuser property, which was removing OOTB workflow service user from superuser group that was causing this issue. By removing that configuration, it worked fine.