Issue
- Once the user assigns the task to another user, then the previous user loses access to that task and is unable to see that in the 'Assigned to my roles' tab of 'My workflow Tasks'.
-
Steps to reproduce:
1. Create one regular role.
2. Create three users and assign that particular created role to all those users.
3. Create a Single approval workflow with the role-based assignment of the above-created role.
4. Apply a single approval workflow for the web content and then submit one test web content for the workflow.
5. Login with the one user that was created in Step 2
6. Go to My Workflow Tasks and click on the assigned task.
7. Click on the 3 dots and assign that task to the other created user in step 2.
- Expected Behavior: The user who assigned the ticket to another user can still show the task in the workflow task tab with two options assign to me and Assign to another.
- Observed Behavior: If the user assigns the task to another user then that user has lost access to that task and is unable to see that in "My workflow task".
Environment
- Liferay DXP 7.4 update 36 and above
Resolution
- This feature has been removed in DXP 7.4 update 36 due to security vulnerability.
- To achieve the same through Workflow Metrics, here are the below steps:
As a user with permissions to access Workflow Metrics.
1. With a user already assigned to review a task.
2. Click the Applications Menu → Applications tab.
3. Under Workflow, click Metrics and select the Workflow Process name you’re working on.
4. Under Pending Items click Total Pending.
5. Find the task you want by its ID.
6. Hover the mouse over the Item (You can also check the box to select it).
7. Click the change (double arrow) button.
8. Under New Assignee you can select every user eligible to review the task.