Skip to main content
Level 3
Mar 30, 2016 12:46 PM UTC
Solved

Cannot create workflow instance

AEM 6.0 SP2

Content can be published by administrator. (Members of Administrator group)  These users see "Publish" / "Unpublish" from the touch UI on Author.

However, Power users who are members of the Power Users group cannot publish.  These users see "Request publication" in the touch UI on Author.  However, when clicked nothing happens and an error simliar to below appears in the logs.

30.03.2016 08:34:03.111 *INFO* [0:0:0:0:0:0:0:1 [1459341243110] POST /bin/replicate.json HTTP/1.1] com.day.cq.replication.impl.ReplicatorImpl Setting up replication with options: ReplicationOptions{synchronous=false, revision='null', suppressStatusUpdate=false, suppressVersions=false, filter=null, aggregateHandler=null} 30.03.2016 08:34:03.111 *WARN* [0:0:0:0:0:0:0:1 [1459341243110] POST /bin/replicate.json HTTP/1.1] com.day.cq.replication.impl.ReplicatorImpl User Test.Power has not enough privileges to replicate /content/site/en/path/page 30.03.2016 08:34:03.122 *WARN* [pool-7-thread-9-null(null)] com.day.cq.wcm.workflow.impl.WcmWorkflowServiceImpl Cannot start request for de/activation workflow Request for Activation for /content/site/en/path/page: Cannot create workflow instance

A similar environment does not present this same issue.  In that case the "Request for Activation" workflow is correctly initiated by Power Users.

Any assistance on why this might be happening?

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
vmehrotrAccepted solution
Adobe Employee
Apr 5, 2016 4:07 PM UTC

Closing the thread - providing read/write permissions to /etc/workflow/instances resolved the issue

3 replies

smacdonald2008
Level 10
Mar 30, 2016 1:45 PM UTC

our Workflow Engineer stated:

 Sites decides when to start a workflow to request activation, and when to allow the user to activate themselves.  Sounds like something weird is going on with the permissions the user has and the UI is confused and thinks that the user can replicate when infact they cannot. I would have them log a daycare ticket.

Translate
Level 3
Mar 30, 2016 2:04 PM UTC

Thanks.

CQ Ticket : 88573 

Translate
vmehrotrAdobe EmployeeAccepted solution
Adobe Employee
Apr 5, 2016 4:07 PM UTC

Closing the thread - providing read/write permissions to /etc/workflow/instances resolved the issue

Translate