2080825 - Triggering Workflows on Position Object by Checking for Previous Value in Field

SAP Knowledge Base Article - Public

2080825 - Triggering Workflows on Position Object by Checking for Previous Value in Field

Symptom

***Disclaimer - All images taken from SalesDemo

  • How to add a rule to trigger a workflow based on a Field Level change.
  • We would like to trigger a workflow when a specific field is changed in a Position, either via Make Correction or Insert New Record.

Environment

Employee Central - Business Rules

Resolution

In this article we will cover how to add rule validations (IF conditions) to trigger a workflow for field level changes made inside an existing Position record (Take Action Make Changes) and if the field value is set in a  new record (Insert New Record).

Workflow trigger for field changes made via “Make Corrections”

 1.) First we need to create a new rule, give it an ID and a name, set the Base Object to “Position” and a Rule Type.


 
2.) Then we need to click on “Manage Parameters” (blue text to the right of Base Object ) and a popup will open. Click “Add New Parameter” and under the boxes “Code” and “Name” enter the text “OriginalValues”, and under the       “Object” menu select “Position”, then click “Apply” -:

 2018-06-13_15-16-13.png

2018-06-13_15-17-09.png
 

3.)  The next step is to set the IF conditions. As we have now defined the “OriginalValues” parameter, we are now able to validate against Original values of the record being edited. In the below example, the rule will validate that 1) Original Values is not equal to Null (not blank), 2) the new field value is not equal to the previous value in the field

 2018-06-13_15-22-47.png

Please Note:

  • This will only work for the position object and no other MDF objects

Keywords

OrginalValues, Checking Previous Values of MDF fields, Triggering MDF Workflows, Position, Model, Workflow, Previous Value, Business Rule , KBA , sf employee central , LOD-SF-EC-MDF , MDF & EC2MDF Migration , LOD-SF-FWK-MDF , MDF Framework , How To

Product

SAP SuccessFactors HCM Core all versions