HRIS - Auto-approve rejection

I have logic in the "Insert" workflow to return a failure (InsufficientBalance or Error). When setting auto-approve, I expected the behavior to reject the request automatically in case of those failures. However, what is happening is it is set to "Pending"

Is there a way to force Genesys to reject the request if those errors occur? Is there a return code that isn't listed in the Blueprint that can make that happen?

When time-off request is created by the agent, it is in PENDING state. If successful, auto-approval processing sets the request to APPROVED with sub-status "auto-approved".
If workflow returns Error, then automation does not change status, but sets "sync failed" flag for time-off request.
If workflow returns InsufficientBalance, then the automation does not proceed with auto-approval. The status remain PENDING, but sub-status is set to "insufficientBalance`.

Is there a way for the request to be rejected and not be in Pending regarldess of the sub-status?

When you say rejected, you. mean set it to "DENIED" state? If so, the system does not do it automatically but keeps it in Pending. But the admin can manually set it to DENIED if the reason/sub-status is Insufficient Balance

1 Like

Please raise your idea in the Genesys Ideas Portal. Our product managers regularly use these ideas as the source of inspiration for new features, so it's the best way to make feature requests.
You can find the portal here:
Genesys Cloud Ideas Portal