Update a Locked List Item from Engine Activity
- Last UpdatedJun 25, 2024
- 1 minute read
List items can be updated through Workflow Update variable activity irrespective of whether it is locked or not. Lock will not be considered while updating the list items through Engine Activity.
Scenario
Consider a list item New Employee Details which is associated to a workflow Employee Induction workflow on event creation. Employee Induction workflow has a Update Variable activity to assign the Employee ID.
-
Login to Enterprise Console as Rick, create a new employee Peter Botham. Workflow Employee Induction is triggered.
-
Login to Enterprise Console as John and lock the list item New Employee Details.
-
In the Employee Induction workflow at run time the Employee ID will be updated.
-
Verify the list item New Employee Details.
-
List item New Employee Details is updated with the new employee Peter Botham's Employee ID even though it is locked.