SAP Knowledge Base Article - Public

2618993 - Getting error ???EMPFILE_HRIS_WORKFLOW_INVALID_CONFIGURATION??? when submitting a leave request

Symptom

You are trying to submit a leave request and when you click in submit you get an error as below:

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

KB1.jpg

Environment

  • You are using Time Off;
  • You are using workflows to approve the leave requests;
  • You are requesting as EMPLOYEE not as manager;
  • You are using cancelation workflow
  • Under employee time you have configured a business rule to get the workflow from the time type (see example below);

KB3.jpg

Reproducing the Issue

  1. As an employee, go to Time Off;
  2. Select the time type and the day in the calendar you want to submite the leave request;
  3. Click in submit and get the error;

Cause

The original workflow for this time type was deleted from the system.

When you configure a time type you can define a workflow for approve and you can also define if this workflow will also work for the cancelations.

If after you configure your time type, if you go to Manage Organization, Pay and Job Structures and delete the workflow, it will be removed from the time type but the option Activate Cancellation Workflow will remain as "Yes" causing the issue described.

KB2.jpg

(IMAGE FROM DEMO INSTANCE)

Resolution

To solve this issue, please go to:

  1. Manage Time Off Structures;
  2. Chose Time Type;
  3. Chose the Time Type you are getting the error (in this example was RB- Medical Leave);
  4. Edit this time type and perform one of the below corrections:
    1. Change Activate Cancellation Workflow to "No";
    2. Add a new workflow in the field "Workflow Configuration";

Keywords

workflows leave request time off workflows , KBA , LOD-SF-EC-TIM , Time Off , How To

Product

SAP SuccessFactors Employee Central all versions