SAP Knowledge Base Article - Public

3282656 - Time Off Rule for the admin-created leave request returned "Workflow Initiated By Admin" as False

Symptom

Despite the fact that leave is requested in the Administer Time UI under "Time Section>Administer Time>Absence Tab>Create Absence,condition “Employee Time.Workflow Initiated By Admin” is evaluated as false which resulted in automatic approval of workflows.

Environment

SAP SuccessFactors Employee Central - Time Off

Reproducing the Issue

  1. Create a Rule Trace via Business Execution Log
  2. Navigate to Employee Profile>Time management
  3. Click on Administer UI>Absence>Create Absence
  4. Leave request auto approved
  5. Download the rule trace, see that the Condition “Employee Time.Workflow Initiated By Admin is equal to "No” failed despite leave request created in admin UI by admin

       -Rule trace logs: “Retrieved 'EmployeeTime.workflowInitiatedByAdmin'. Value: 'false'.

Cause

Working as Designed

Resolution

  • It is an expected behavior.
  • The "workflow initiated by admin" field is set to true/false only when the Employee Time record is saved, hence it cannot be used on the workflow rule.

Keywords

Retrieved 'EmployeeTime.workflowInitiatedByAdmin.Value: 'false', EmployeeTime.workflowInitiatedByAdmin', Retrieved 'EmployeeTime.workflowInitiatedByAdmin', workflowInitiatedByAdmin, workflow Initiated By Admin, Approved Automatically, workflow auto approval, workflow admin, admin workflow, leave request by admin, INC3447683 , KBA , LOD-SF-EC-TIM-WAN , Workflows - Alerts - Notifications , LOD-SF-EC , Employee Central , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , Problem

Product

SAP SuccessFactors Employee Central 2111