Dynamic Participant Step assigning to admin instead of previous task completer
I’m working on an AEM workflow where I want to assign a task dynamically to the user who completed the previous participant step using the OOTB Dynamic Participant Step with the option:
"Assigns to previous task completer"
Here’s the structure of my workflow:
Participant Step 1 → Assigned to User A (e.g., qauser)
Participant Step 2 → Assigned to User B (e.g., designuser)
Dynamic Participant Step → Configured with “Assigns to previous task completer”
Expected Behavior:
The Dynamic Participant Step should be assigned to User B (the last user who completed a task) — in this case, designuser.
ISSUE :
Even though User B (designuser) successfully completes Participant Step 2, the Dynamic Participant Step gets assigned to admin, not designuser.
What I’ve already tried:
Ensured the workflow was started by qauser, not admin
Confirmed each participant step was completed by the correct user
Verified the workflow history: the correct users are completing the steps
All steps are standard Participant Steps, not custom