Symptom
Below error occurs when running the Dynamic Shift Assignment rule:
- The Dynamic Shift Assignment rule [xxxx] returned [xxxx] for the rule parameter 'Work Schedule Day Model', but it couldn't be saved. Error: Please select a valid work schedule. Please fix the error and re-trigger the Dynamic Shift Assignment.
''Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.''
Environment
- SAP SuccessFactors HCM Suite
- SAP SuccessFactors Employee Central - Time Sheet
- SAP SuccessFactors Time Tracking
Reproducing the Issue
- Configure the Dynamic Shift Assignment rule to determine the appropriate Work Schedule Day Model based on clock-in and clock-out times.
- Navigate to time sheet and record time event, the expected shift is not assigned.
- Below error observed in Admin Alerts > Dynamic Shift Assignment:
-
- "The Dynamic Shift Assignment rule [xxxx] returned [xxxx] for the rule parameter 'Work Schedule Day Model', but it couldn't be saved. Error: Please select a valid work schedule. Please fix the error and re-trigger the Dynamic Shift Assignment."
Cause
The Day Model (dayModel) field in the Temporary Time Information object definition was not configured as editable, preventing Dynamic Shift Assignment from saving the returned Day Model.
Resolution
- Navigate to Configure Object Definitions and open the Temporary Time Information object.
- Locate the Day Model field (dayModel) and set its Visibility to Editable and save the changes.
- In Admin Alerts > Dynamic Shift Assignment, re-trigger the Dynamic Shift Assignment process.
See Also
Keywords
SF, SAP SuccessFactors, Time Tracking, TTR, Time Sheet, TMS, Dynamic Shift Assignment, DSA, Admin Alerts, Please select a valid work schedule, Work Schedule Day Model, Day Model, dayModel field, Temporary Time Information, clock-in, clock-out, shift not assigned, Dynamic Shift Assignment rule error, work schedule validation, editable field, field visibility, object definition, business rule , KBA , LOD-SF-TTR-TMS , Time Sheet , LOD-SF-TTR , Time Tracking , Problem
SAP Knowledge Base Article - Public