Skip to content

Fix mismatched values and duplicate variable in RequestTimeOff topic#501

Merged
srideshpande merged 1 commit into
mainfrom
user/srdeshpande/Workday-RequestTimeOff-fix
Apr 30, 2026
Merged

Fix mismatched values and duplicate variable in RequestTimeOff topic#501
srideshpande merged 1 commit into
mainfrom
user/srdeshpande/Workday-RequestTimeOff-fix

Conversation

@srideshpande
Copy link
Copy Markdown
Contributor

Fix mismatched values and duplicate variable in RequestTimeOff topic

Fixes three issues in WorkdayEmployeeRequestTimeOff/topic.yaml:

  1. Remove duplicate TimeOffReasonConfig variableTopic.TimeOffReasonConfig was declared twice. The first (unused) declaration with Title/ReasonID/TimeOffTypeID columns was removed, keeping the second one with ReasonKey/TimeOffTypeID/ReasonID columns that resolve_reason_id actually uses via LookUp.

  2. Fix LeaveTypeConfig values to match dropdown choices — The keyword-to-leave-type mapping used Vacation_Hours and Floating_Holiday_Hours, but the adaptive card dropdown uses ESS_Vacation_Hours and ESS_Floating_Holiday_Hours. This caused auto-mapping from user input to never pre-select Vacation or Floating Holiday in the form.

  3. Fix success card Switch to match actual timeOffType values — The confirmation card's type-of-leave display used stale values (Vacation_Hours, Floating_Holiday_Hours, Sick Leave) that didn't match the dropdown values. Updated to ESS_Vacation_Hours, ESS_Floating_Holiday_Hours, ESS_Sick_Time_Off, and added the missing ESS_Comp_Off → "Comp off" case.

@srideshpande srideshpande requested a review from a team as a code owner April 29, 2026 22:01
@srideshpande srideshpande self-assigned this Apr 29, 2026
@srideshpande srideshpande merged commit f05241a into main Apr 30, 2026
7 checks passed
@srideshpande srideshpande deleted the user/srdeshpande/Workday-RequestTimeOff-fix branch April 30, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants