SAP Knowledge Base Article - Public

2580586 - The Workflow Rule to Trigger a Field Update Fails

Symptom

You created a Workflow Rule to Update the field Chance of Success on every save when the Progress of the Sales Quote changes to Lost.

Environment

SAP Hybris Cloud for Customer

Reproducing the Issue

  1. Go to the Administrator work centre.
  2. Open the Workflow Rules view.
  3. Select the Actions wheel and choose Workflow Log.
  4. The Workflow Rule ABC (ABC represents the Workflow ID) failed with the error message 'Changing of Chance of Success not Possible; Field is Read-Only'.

Cause

Read only property for field Chance of Success depends on Status of Sales quote instance.
- When the Status of a Sales quote is Open then in that case the Read-only property for the field Chance of Success will not be enabled.

- When the Status of a Sales quote is set to Lost then in that case the Read-only property for the field Chance of Success will be enabled.

The above statement is based on existing behavior of product.

The Workflow rule is defined to execute on Every Save and condition maintained is Progress = Lost. In that case, that field Chance of Success will be Read-only. As a result, workflow execution fails with reason Changing Chance of Success not possible; field is read-only.

Resolution

This is the expected behaviour of the sysytem.

Keywords

Workflow Rule, Chance of Success, Sales quote, Read-only, Changing Chance of Success not possible; field is read-only, Progress,  Lost, Field Update, Fails , KBA , changing chance of success not possible; , chance of success , workflow rule , sales quote , read-only , lost , progress , field update , fails , LOD-CRM-WKF , Workflow , Problem

Product

SAP Cloud for Customer add-ins all versions