pxUpdateOpName not updated when ServiceLevel Agent is executed
When the goal time is reached for a particular work object the ServiceLevelEvents SLA Agent is triggered and the ExecuteSLA activity is executed.
In Step 22 of the Execute SLA Activity, a mapping is present for pxUpdateDateTime to current DateTime, however, pxupdateopname is not updated.
Steps to Reproduce
- Create a Simple flow.
- Set the Goal and Deadline for an SLA rule and add it to the flow.
- Create a work object.
- Allow the SLA agent to run in the background to update the Goal and Deadline for the work object. Check the Last Updated By value. The value does not change to Agent.
In the Assign-.ExecuteSLA activity, work page is saved using Obj-Save. Hence, the work page's pxSystemUpdateDetailsList is not populated. This page list is later used to prepare the Conflict message which is displayed to the user.
This modifies the ExecuteSLA activity to update the counter and display a valid conflict message as below.