Symptom
You created a Workflow Rule ABC (where ABC is the Workflow Rule name) to update the field XYZ(where XYZ is a field in the Sales Quote)in Sales Quote 123(where 123 is the Sales Quote ID) but the Workflow Rule Failed.
This workflow Rule has failed for some instances while have executed successfully for others.
When you check the error message in Workflow Log it states- "Change of XYZ is not allowed".
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to Administrator work center.
- Go to Workflow Rules view.
- Click on the Cogwheel icon and select Workflow Log.
- Click on Advanced Search icon and search with Status Failed.
- In the Status column click on Failed hyperlink.
The error message shown here is "Changing Status not possible; field is read-only".
Cause
Workflow Rule ABC failed for some instances because the update of field XYZ is not possible if Approval Status is "In Approval".
And it executed successfully for other instances because at that point of time the Approval Status was not "In Approval".The change of Approval Status can be seen in Changes facet for Sales Quote 123.
Resolution
This is the expected system behavior. When the Object is set to "In Approval", the whole object is locked for changes until the Approver has a change of checking it.
See Also
Approvals Help Center Document
Keywords
Approval Process ; Lock ; Failed ; Changing Status not possible; field is read-only , KBA , LOD-CRM-EMP , Employee , How To