Symptom
A Job Information field is set as a filter in dynamic role. This dynamic role is assigned as an Approver Type in workflow. If you trigger this workflow when leaving relevant Job Information field as blank, you are expecting to skip this step, however it is not. Why?
Environment
SAP SuccessFactors Employee Central
Reproducing the Issue
- Login Instance
- Create a business rule to set a workflow, and configure it in Manage Business Configuration<jobInfo portlet
- Go to an employee's profile
- Click pencil icon to insert a new record in Job Information portlet
- Remove a field value
- Click save to trigger workflow
- An unexpected approver appears in Approver List
Cause
As per current product design, when below conditions are met, system will choose this field's source value (previous value) as a filter to resolve Approver.
- The Job Information field is a custom-string field and configured with an Object, for example: Department.
- This custom-string field is configured as a filter in Dynamic Role, which is used to be an Approver Type in workflow. In this Step, the context is Target.
- This custom-string field's value is changed from non-blank to blank in the new jobInfo record.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Resolution
This could not be avoided by configuration change.
Only workaround is to use Manage Workflow Request tool, find out this workflow and remove the unexpected step approver there.
If you wish to request this feature, please log an idea with the Product Management team by following the instructions in the KBA 2090228 - How to Submit Ideas for SAP SuccessFactors Products
See Also
Keywords
custom string, dynamic role, workflow, approver, not skip , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , How To