Question: The task with the attachment and guid "19703248380151847" is being rejected by the "demo_manager" role. After rejection, the task should be automatically assigned to the "demo_user" role on the "taskInbox" page located within the "workflowcommons" module. Currently, there are three tabs on this page ("all open tasks," "unassigned tasks," and "my open tasks"). I aim to have the task appear in one of these tabs without requiring manual assignment using the "(assign to me)" button. Context: The issue arises after a task rejection by the "demo_manager" role. Desired Outcome: Automatically assign the rejected task to the "demo_user" role on the "taskInbox" page. Current Situation: The task appears in one of the three tabs on the "taskInbox" page but requires manual assignment using the "(assign to me)" button. Request: Can anyone suggest a solution to achieve automatic assignment of the rejected task to the "demo_user" role on the "taskInbox" page?
asked
Vijay Ganesh S
2 answers
0
Hi Vijay,
When your demo manager is rejecting the task, in the rejecting flow of your workflow you can call a microflow and retrieve the demo_user account role user from account and assign this to user task assignee association of your user task entity.
Thanks
answered
Amit Gupta
0
Hi Vijay,
you can see below, retrieve the user whom you want to assign task after rejecting , and change workflowtask an put that account in assignee association