Symptom
You have configured a Workflow Rule with Condition "Contains" and are using a Field which has 0..n Associations and chose just a part of a number for the condition. Althought this value is contained in the field, the Workflow Rule is not triggered.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Navigate to Administrator Work Center.
- Go to Workflow Rules View.
- Open the Workflow rule ABC (in which ABC is the workflow rule description).
- For this workflow rule the condition maintained is 'DEF[] Contains <0..n>' (where DEF is a field available in Condition Dropdown and <0..n> is a number which should be contained in the field).
- Although the condition is met, the workflow rule is not executed.
Cause
The field you chose has a 0..n association. Hence, contains operator would check the exact value for the field in question.
Resolution
When using condition DEF[] you need to maintain the value between asterisk(*) (e.g. *123*).
Keywords
workflow; rule; workflow rule; asterisk; contain; contains; condition; conditions; []; field; , KBA , LOD-CRM-WKF , Workflow , How To