Expand my Community achievements bar.

Author, Review, Approve and Publish Workflow

Avatar

Level 7

Hi all,

 

In AEM, I wanted to create a workflow with 2 reviewers and 2 approvers in serial order.

Author creates a content page and triggers this wf.

Any of these could reject and it would land in author's inbox.

In case everybody approves, the page would be published.

The author, reviewer and approver should have only the required privileges to perform their tasks (not admin).

Could you please direct me to a tutorial that takes me through creating this wf and testing.

I highly appreciate your help.

 

Thanks ,

Rama.

13 Replies

Avatar

Level 10

Take a look at sample use case similar to you @ http://blogs.adobe.com/learningwem/2011/11/30/cq5-4-workflow-example-approve-reject-by-the-reviewer/

Basically you need to create steps in your workflow model accordingly and use form participant step available in workflow.

Avatar

Level 7

Hi all,

Followed example in http://blogs.adobe.com/learningwem/2011/11/30/cq5-4-workflow-example-approve-reject-by-the-reviewer/

it says:

1. Author – Read-write access to the page.  2. Approver – Only read access to the page.

If we create and add a user to these groups, he will not be bale to login, as he needs more privileges to be able to at least log into AEM and do the needful later on.

So, please suggest what extra privileges should be offered to Author as well as Publish groups.

Appreciate your help.

Thanks,

Rama.

Avatar

Level 6

Please follow this KB article.  

https://helpx.adobe.com/experience-manager/kb/how-to-deny-access-to-site-admin-actions.html .

You should give read permissions to libs folder then only can be able to log in. I followed that KB article. 

I hope it will be useful in your case well.

Thanks

Avatar

Community Advisor

Hi 

Below adobe documentation provides you the steps to create workflow models and how to accept and reject the workflow step

https://docs.adobe.com/docs/en/cq/5-6-1/workflows/create-models.html

Thanks,

Mani Kumar K

Avatar

Level 7

Hi Mani Kumar and all,

The link you forwarded describes about workflow models.

In my case,I am Following example in http://blogs.adobe.com/learningwem/2011/11/30/cq5-4-workflow-example-approve-reject-by-the-reviewer/

Here the various privileges to be offered to author and approver are not completely discussed I guess, as with the given privileges, I am not able to login.

I am pinning on to this example, as my use case is very close to this.

If I am able to run this example, my workflow requirement is almost met.

So, please help.

Thanks,

Rama.

Avatar

Level 6

Hi nsvsrk,

Have you provide appropriate permission on /libs folder.

Can you provide permission screenshot of that user .

Avatar

Level 7

Hi,

PFA the Permissions of group "Approver -Group".

User Approver-1 is a member of this group.

When I login as Approver-1, I get 404 error as below.

No resource found

Cannot serve request to / in /libs/sling/servlet/errorhandler/404.jsp

Are the Permissions of group "Approver -Group" in line with the expectations?

Appreciate your help.

Thanks,

Rama.

Avatar

Level 7

Hi,

This will be a good milestone in our project, if I am able to make this workflow work.

So, request you to connect with me and close today.

I am available from 6 PM today.

Appreciate your help.

Thanks,

Rama.

Avatar

Level 7

Hi,

Did anyone work this example successfully?

I thought that the privileges are only for accessing inbox and not welcome screen and tried the following URL, with the same result 404, as above.

http://localhost:8082/inbox

Kindly attend to my issue.

Thanks,

Rama.

Avatar

Level 6

Check the libs box under the permissions for this user group.

Take a look the below document and look at the permission for each group, you might get an idea.

https://docs.adobe.com/docs/en/cq/5-6-1/administering/security.html

Avatar

Former Community Member

nsvsrk wrote...

Hi all,

 

In AEM, I wanted to create a workflow with 2 reviewers and 2 approvers in serial order.

 

Author creates a content page and triggers this wf.

 

Any of these could reject and it would land in author's inbox.

In case everybody approves, the page would be published.

 

The author, reviewer and approver should have only the required privileges to perform their tasks (not admin).

 

Could you please direct me to a tutorial that takes me through creating this wf and testing.

 
I highly appreciate your help.
 
Thanks ,
Rama.