Error: Could not start workflow - In Publisher Instace | Community
Skip to main content
Level 4
May 3, 2016 7:50 PM UTC

Error: Could not start workflow - In Publisher Instace

Hi All,

      We have implemented a custom workflow step (Process Step) by implementing WorkflowProcess and overriding the execute method with our functionality.

We created a work flow model and added the above created process step. When we run/start the work flow model, by selecting the payload path, it is successfully running in Author instance.

But in Publisher instance, when we try to run/start the workflow model, we are getting Error: Could not start workflow error. And we are not seeing any obvious errors in publisher logs.

We also observed, even other built-in workflows we are not able to run/start in publisher instance.

Is there any specific config or access levels we have to change to run the workflow models in publisher instance ?

 

Thanks in advance, looking for immediate help!

 

Regards

Sreeni

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

11 replies

New Participant
Jun 22, 2016 8:11 PM UTC

I had the same problem, so here are the steps I followed and it resolved the issue: 

1. Log into AEM as an Admin

2. Go to Users

3. Select the Groups/Users to which you want give permission to execute workflows.

4. Go to Permission tab.

5. Go to etc/workflows give them modify, create and delete permission. 

now log back into the AEM as a that user and try to execute that workflow. It should work fine

Translate
Tuhin_Ghosh
Level 8
May 3, 2016 11:18 PM UTC

Hi Sreeni,

You must have covered this already, have you checked if the workflows are not disabled for your publish instance?

Thanks

Tuhin

Translate
user00725Author
Level 4
May 4, 2016 10:54 AM UTC

Thanks Tuhin! It is active.

And also we observed, an access level difference in author and publisher on /etc/workflow as shown below

Author:

 

Publisher:

 

 

We tried changing the access level in publisher similar to author, but still not able to run the workflow.

Regards

Sreeni

Translate
user00725Author
Level 4
May 4, 2016 11:04 AM UTC

And also, when we tried to change the permissions on publisher instance to give users necessary permissions on the workflow model like it is in author instance, when I save it, everything gets reverted back to the original state.

We are also not able to run/start the built-in AEM workflows( like DAM Update Asset, etc..) in publisher instance

Are workflows not supposed to be run on publish instance ?

 
Translate