Symptom
When system automatically approves the workflow, the workflow reminders were still been sent even after the approval.
Environment
SAP SuccessFactors Employee Central - Workflow
Reproducing the Issue
Prerequisite -
- Configured "Days Until Auto Approval" Field on the workflow configuration UI.
- The field "Days Until Auto Approval Field" and "Remind in Days" are filled for the workflow triggered on the workflow configuration UI.
- "Workflow Action Reminder" and "Workflow Auto Approval" both the jobs are configured as recurring in Manage Scheduled Jobs.
Steps to reproduce -
- Navigate to employee profile and select Take Action > Terminate.
- Fill all the required fields.
- Workflow is triggered upon submitting.
- Workflow is automatically approved after few days by the recurring job "Workflow Auto Approval".
- After approval, the system still sends the workflow reminders for the approver.
Cause
The "Workflow Action Reminder" and "Workflow Auto Approval" job are configured to run at the same time. Both the jobs fetched the same workflow and then workflow auto approval job approved the workflow and marked the status as completed but workflow reminder job sent the reminder notification and overwrite the completed status to pending status.
Resolution
- This is currently working as system design.
- Adjust the running time of the "Workflow Action Reminder" and "Workflow Auto Approval" jobs are different so that they do not overlap.
See Also
Enabling the Days Until Auto Approval Field | SAP Help Portal
Creating a Recurring Job for Automatic Approval | SAP Help Portal
Creating a Recurring Job to Send Batch Reminders About Stalled Workflows | SAP Help Portal
Keywords
INC7667209, workflow, reminder, pending, auto approval, automatic approval, approved, mail, Workflow Action Reminder, Workflow Auto Approval, Days Until Auto Approval, approved, automatically , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , LOD-SF-EC , Employee Central , LOD-SF-EC-JOB , Job Information , LOD-SF-EC-TER , Termination Details , Problem