SAP Knowledge Base Article - Public

3446010 - Workflow reminders are being sent even after Automatic Approval of the workflow

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 - 

  1. Configured "Days Until Auto Approval" Field on the workflow configuration UI.
  2. The field "Days Until Auto Approval Field" and "Remind in Days" are filled for the workflow triggered on the workflow configuration UI.
  3. "Workflow Action Reminder" and "Workflow Auto Approval" both the jobs are configured as recurring in Manage Scheduled Jobs.

Steps to reproduce - 

  1. Navigate to employee profile and select Take Action > Terminate.
  2. Fill all the required fields.
  3. Workflow is triggered upon submitting.
  4. Workflow is automatically approved after few days by the recurring job "Workflow Auto Approval".
  5. 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

  1. This is currently working as system design.
  2. 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

Product

SAP SuccessFactors Employee Central 2311