Why initiator can interact with Workflow when it is assigned to somebody else? | Community
Skip to main content
anujr64082109
New Participant
December 7, 2017
Solved

Why initiator can interact with Workflow when it is assigned to somebody else?

  • December 7, 2017
  • 12 replies
  • 2484 views

Hi All,

i have a question related to workflows. i have created a workflow that is initiated by User A. After initiation it goes to a user B. Then there is  an OR Split where user B can decide to accept or reject.

Now the strange thing is that: user A after initiating the workflow, sees the workflow step in his AEM inbox. User B also has the same item in his AEM inobx and both can perform next step (select one step out of the 2 inside OR split) on the workflow. Is there something that i am doing wrong?

We are using AEM 6.3.

Thanks .

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

That is what happened - in your 1st step - you did not assign a specific user - like I did, I assigned User A and User B cannot see it.

12 replies

smacdonald2008
New Participant
December 12, 2017

I am glad you got it solved - i sent you a follow up email. Thanks!

anujr64082109
New Participant
December 12, 2017

i see.. that was a silly mistake. Actually we migrated the workflow from AEM 6.0 to AEM 6.3 and seems like we had to do some authoring again to select the appropriate user/group. it looks fine after that.  But we have observed that the admin or user who is part of administrators group are getting all the notifications in the inbox. Seems ok but we did not notice this thing in 6.0 version. 

Thanks for the help here though.

smacdonald2008
smacdonald2008Accepted solution
New Participant
December 12, 2017

That is what happened - in your 1st step - you did not assign a specific user - like I did, I assigned User A and User B cannot see it.

smacdonald2008
New Participant
December 12, 2017

Also - only user A has access from sidekick

anujr64082109
New Participant
December 12, 2017

Scott, i can share the zip file (package) of the workflow i created. Can you please let me know how can i share that? i doubt if i can attach it here. But to provide more details, i can mention the dialog values below:

Step 1: Add participant chooser step

Tab 1

Tab 2

- Step 2: Add OR Split

- Step 3: Add Process step in left hand side

Tab 1:

Tab 2:

Step 4: Add Initiator participant chooser step on right hand side of OR Split:

Tab 1:

I hope this helps. Thanks

smacdonald2008
New Participant
December 12, 2017

OK - i did this -- i created a model similar to yours. Two user UserA and User B - both belong to workflow user group.

User A has the 1st step assigned to them. As User B - i kicked off the workflow.

User B inbox view here -- http://localhost:4502/inbox :

So no message that lets me interact with the workflow.

In User A - i see here -- http://localhost:4502/inbox :

Now i can see the Workflow properly assigned to User A - not User B.

So in your 1st step - make sure it clearly has User A --

smacdonald2008
New Participant
December 12, 2017

I want to attempt to reduplicate your model and experience. Can you post back and tell me exactly which workflow steps you did and show the dialog boxes too so i can setup this model.

anujr64082109
New Participant
December 12, 2017

Hi Scott,

Yes, User K and User A both can see the notifications in their respective AEM inboxes and both can choose the next step.

But according to workflow only user K should be able to work on the workflow to choose the next step and not user A.

smacdonald2008
New Participant
December 12, 2017

Does it show up in User K inbox?

anujr64082109
New Participant
December 12, 2017

Hi, please check the above workflow. First step is assigned to a user 'k' and the workflow is initiated by user 'a'.