WFM Time Off HRIS Integration - Balance Check in the Insert Time-Off Flow

Hi Team,

May I know in which scenario the first decision block "Is Balance Check Required?" (Flow.timeOffStatus == 'Pending') in the Insert Time-Off Flow will take the "Yes" path?

According to the Blueprint article, it seem like the Insert Time-Off Flow will only get triggered for an approved time-off request. In this case, why are we checking the Flow.timeOffStatus == 'Pending' condition as it will be always taking the "No" path?

Regards,
Keng

There are two different cases, when insert time-off can be triggered. One, when time-off is inserted in Genesys in "Approved" status. In this case, the example workflow proceeds with time-off insertion without checking the balance. However, in the second case, when time off is inserted as "Pending" and is auto-approved by the system, it activates the workflow before auto-approving time-off request. That is why it checks for "Pending" and then checks the time-off balance. If workflow does not return "Success", but "InsufficientBalance", then the system is not going to auto-approve the request.

Hi Vidasp,

I created a Time-Off Plan and configure the 'Annual Leave' time-off activity code as auto approval enabled.

When the agent submit an Annual Leave request, Genesys auto approved the request. But when I check on the Architect workflow execution history, I can see that the Flow.timeOffStatus variable value was 'APPROVED' but not 'PENDING'. I couldn't produce the scenario with the Flow.timeOffStatus variable set to 'PENDING' even when I have auto-approved enabled..

Regards,
Keng

In the time-off plan, if you enable 'Count against time-off limit' and Auto Approval Rule set to 'According to time-off limit' the agents request then arrives to the workflow FlowtimeOffStatus == PENDING

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.