Why initiator can interact with Workflow when it is assigned to somebody else? | Community
Skip to main content
anujr64082109
Level 2
Dec 7, 2017 8:37 AM UTC
Solved

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

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Dec 12, 2017 7:03 PM UTC

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
Level 10
Dec 12, 2017 7:21 PM UTC

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

Translate
anujr64082109
Level 2
Dec 12, 2017 7:14 PM UTC

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.

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Dec 12, 2017 7:03 PM UTC

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.

Translate
smacdonald2008
Level 10
Dec 12, 2017 7:00 PM UTC

Also - only user A has access from sidekick

Translate
anujr64082109
Level 2
Dec 12, 2017 6:57 PM UTC

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

Translate
smacdonald2008
Level 10
Dec 12, 2017 6:56 PM UTC

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 --

Translate
smacdonald2008
Level 10
Dec 12, 2017 6:31 PM UTC

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.

Translate
anujr64082109
Level 2
Dec 12, 2017 5:43 PM UTC

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.

Translate
smacdonald2008
Level 10
Dec 12, 2017 5:16 PM UTC

Does it show up in User K inbox?

Translate
anujr64082109
Level 2
Dec 12, 2017 4:58 PM UTC

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

Translate