Symptom
- Workflow is configured with approver role and set No approver behavior to "Skip this step". Now if there is no approver available for that employee, it says, "Workflow will be initiated", but records are not saved.
- Configured a workflow with CC Role and no Step Approvers so that system will only send notification upon saving the record. Configured a workflow with Step Approvers but Approvers are not found and the system skips each steps and save the record. Both scenarios are working fine when changes are made via UI. But records are not getting saved via imports and the notifications are not sent. Import was successful but records not updated.
Environment
- SAP SuccessFactors Employee Central - Employee Data Imports
- SAP SuccessFactors Employee Central - Workflows
Reproducing the Issue
- Configure a Workflow with no Approvers and only defined CC Roles.
- Import a File, for example, Termination Import where Workflow above is attached as onSave.
- Click on Import.
- Observe no email notifications are sent to CC Roles.
Cause
Workflows configuration if are without any approver steps will not trigger, but data will get saved immediately.
Resolution
- Until 2H 2022, CC notification without the approver was not supported for Imports. Either you had to provide the approver or disable the workflow.
- The Enhancement Request opened for this ECT-97716 is no longer valid and closed.
- With Centralized Services in 1H 2023 release CC only workflows are now supported. created via Import or API and if 'No approver found' logic is set as 'skip' AND/OR CC roles are added in the workflow configuration then CC roles will receive email notification.
-
If the Workflow configuration has approvers set but as Skip if no approver resolved: Then for Centralized Services/Service Layer import or API: No workflow will trigger (no workflow details page created). Data will get saved directly. And CC Role email notification is supported and emails are sent.
- Similarly for Workflow configurations having only CC Roles, no workflow is triggered (no workflow details page created) , the data will get saved immediately and CC Roles will recieve email notifications.
- If the Workflow configuration has approvers set as Stop if no approver resolved, then the workflow will stop and no data changes and no email notification will trigger.
- Import settings for Rules trigger (workflow derivation rules), Access to entities for import action, and import settings for workflow triggers should be provided to the API or imports admin as described in KBA 2684271
- Following entities as shown in the below screenshots supports workflows during import/API.
See Also
2684271 - Trigger Workflow for Job information / Job history and Termination entities via API
Keywords
import Workflow will be initiated, API, records are not saved, no workflow triggered, SuccessFactors, Employee Central, ECT-97716 , KBA , LOD-SF-EC-EDP-JOB , Job Information Imports , LOD-SF-EC-EDP-NRE , Spot Bonus & Non-Recurring Payments Import , LOD-SF-EC-EDP-EMP , Employment Details Import , LOD-SF-EC-EDP-TER , Termination Details Import , LOD-SF-EC-WFL-REQ , My Pending Requests, ToDo's & Mass Approvals , Problem