Example: Add Leave Entitlement Overrides to Leave Requests
This example illustrates how to:
- Add theLeave Entitlement Overridefield as an additional field on a leave type to enable managers or workers to override the worker's original leave entitlement.
- Set a default value for the leave entitlement override calculation in Workday when workers or managers don't enter a value on the leave request.
You want to configure your
Compassionate Care
leave type so that workers can specify a
leave entitlement override when they request leave of absence for this leave type.
Example: Your organization might enable workers to share entitlements with partners
who don't work in the organization. When workers don't specify a leave entitlement
override, you want to specify a default value of 90 units.Create the
Compassionate Care
leave type for the Family Leave
leave
family.- Add theLeave Entitlement Overridefield to the leave type.
- Access theEdit Leave Typetask.
- SelectLeave Family> Family Leave> Compassionate Carefrom theLeave Typeprompt.
- On theAdditional Fieldstab, add a row with theLeave Entitlement Overridefield.
- ClickOK.
- Create a calculated field that uses theLeave Entitlement Overridevalue in the leave request to calculate the leave entitlement.
- Access theCreate Calculated Fieldtask.
- As you complete the task, consider:FieldValueField NameLeave Entitlement Override >0Business ObjectLeave Request EventFunctionTrue/False Condition
- On theCalculationtab, create the condition rule:And/OrFieldOperatorComparison TypeComparison ValueAndLeave Entitlement Overridegreater thanValue specified in this filter0
- ClickOK.
- Create a calculated field that uses a default value when the leave entitlement override isn't greater than zero.
- Access theCreate Calculated Fieldtask.
- As you complete the task, consider:FieldValueField NameLeave Override if > 0 Else 90Business ObjectLeave Request EventFunctionEvaluate Expression
- On theCalculationtab, enter these values:FieldValueField TypeNumericDefault Value90ConditionLeave Entitlement Override > 0Return Value If Condition is TrueLeave Entitlement Override
- ClickOKandDone.
- Change the leave type to use the new calculations.
- Access theEdit Leave Typetask.
- SelectLeave Family> Family Leave> Compassionate Carefrom theLeave Typeprompt.
- ClickOK.
- On theBalance/Leave Takentab, in theLeave Entitlementsection, selectLeave Override if > 0 Else 90from theEntitlement Units (Calculation)prompt.
- ClickOKandDone.
Workers can enter the leave entitlement override as additional information when they request
leave of absence for this leave type. Workday uses this information to calculate the
total leave entitlement or uses the default value when workers leave the override
field blank.