2540312 - Workflow Rule To Update A Field Failed With Error Message "Change Of Field Is Not Allowed"

SAP Knowledge Base Article - Public

2540312 - Workflow Rule To Update A Field Failed With Error Message "Change Of Field Is Not Allowed"

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".

Reproducing the Issue

  1. Go to Administrator work center.
  2. Go to Workflow Rules view.
  3. Click on the Cogwheel icon and select Workflow Log.
  4. Click on Advanced Search icon and search with Status Failed.
  5. In the Status column click on Failed hyperlink.

The error message shown here is "Change of XYZ is not allowed".

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.

 

Keywords

KBA , LOD-CRM-EMP , Employee , How To

Product

SAP Hybris Cloud for Customer 1708 ; SAP Hybris Cloud for Customer 1711 ; SAP LE APPL.PLATFORM 1708 ; SAP LE APPL.PLATFORM 1711