Genesys Cloud - Developer Community!

 View Only

Sign Up

Expand all | Collapse all

Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

  • 1.  Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-05-2025 09:08

    Hi,

    We have implemented the steps in HRIS Integration blue print and it was working for a long time until it didn't. We are now getting 'Integration sync Status' Failed status as well as the Time-Off Requests are not getting auto approved anymore. We are able to see the balance of time off with out issues. Workflow executions doesn't show any failures.

    Any recommendations on what else to check and what could be the reason for the Integration Sync Status Failure and what would cause the Time-off requests stop auto approving?


    #Architect
    #Integrations

    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------


  • 2.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-05-2025 10:49

    Hello Sesha,

    The sync status failure indicates an error in updating the time off request to the external HRIS system. The reason for this can range from workflow execution error to workflow invocation error. Does it happen for all the time off request? If thats the case, there could be a change in workflow recently resulting in workflow execution error. If its happening for only some, the best way to look into the reason is logs and we will need details like organization time off requestI identifiers and if possible correlationId of the request. Its best to communicate that through a CARE ticket.

    Thanks



    ------------------------------
    Krishna Raghuraman
    Lead Software Engineer
    ------------------------------



  • 3.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-05-2025 15:22

    Hello Krishna,

    Thank you for responding. We did open a Genesys case 0003766542 and Genesys said "you will have to investigate what may have caused the issue with the HRIS integration using the blueprint and developer forum.". That is the reason we are reaching out through developer forum.

    To answer your questions, it is happening to all time off requests. But the workflow is not having any errors.

    Let me know if any additional information is needed to help us with this.



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 4.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-05-2025 16:51

    Hello Sesha,

    Looking through the logs and workflow setup, Flow.statusCode is set to a value of 400 for insufficient balance scenario in the flow. This means an error status code and it is expected to go to the sync failure mode. If you want the sync to be successful with sub status of insufficient balance, Flow.statusCode should be 200 .



    ------------------------------
    Krishna Raghuraman
    Lead Software Engineer
    ------------------------------



  • 5.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-06-2025 12:00

    Hi Krishna,

    Where are you seeing that it is taking the insufficient balance path? I don't the requests going thru insufficient balance path and the balance was displayed when the Time-off request was submited.



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 6.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-06-2025 15:01

    Hi Sesha,

    I noticed it for quite a bit of time off requests based on logs that it was taking path of non 200 response. If you are seeing for cases of insertion of time off requests, where it is supposed to have balance and yet it says snc failed, please send correlationId and timeOffRequest ids to track and investigate.



    ------------------------------
    Krishna Raghuraman
    Lead Software Engineer
    ------------------------------



  • 7.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-10-2025 14:50

    Hi Krishna,

    Here is one of the timeOffRequest id in lower environment from last night. Let me know if you need additional details of the organization.

    TimeOff Request Id - 7af6b4e5-1f6f-47e9-9ad5-137a1b864484.

    Atmos Energy Lab.



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 8.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-11-2025 20:19

    Hi @Krishna Raghuraman

    Do you need any additional information to help with this issue?



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 9.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-13-2025 16:03
    Edited by Krishna Raghuraman 06-13-2025 16:03

    Sesha,

    I had a chance to look to track the specific time off request you mentioned. Where you are creating it with HRIS, your workflow does not return value for Flow.timeOffRequestId, which is a mandatory output variable that is expected from workflow. This results in processing error and sync failure



    ------------------------------
    Krishna Raghuraman
    Lead Software Engineer
    ------------------------------



  • 10.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-14-2025 00:50

    Hi Krishna,

    Thank you for checking it and confirming. I was able to add the Flow.timeOffRequestId = tostring(GetCurrentDateTimeUtc()) as Lonny recommended and it appears to be working based on initial testing. We will perform additional testing and confirm.

    I would like to understand why the Flow.timeOffRequestId is mandatory now(since about a month) and if it was before as well, how it was working before?

    And how is Flow.timeOffRequestId used and instead of setting it to value of date,time is there any other value we can assign to it? Does the value have any impact on the Time off request dates?



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 11.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-16-2025 14:49

    Hi Sesha,

    Flow.timeOffRequestId  has always been a required flow output variable that should have been set. In regards to other value you could assign, the significance of output variable is to be able to associate and track the external HRIS id for a time off request on Genesys's time off request. So ideally it should be assigned with id of time off as returned by your external HRIS system



    ------------------------------
    Krishna Raghuraman
    Lead Software Engineer
    ------------------------------



  • 12.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-16-2025 18:50

    Hi Krishna,

    As the timeoff request is being initiated in WFM, should it have the time off request Id from WFM? I attempted to change the workflow with the Flow.timeOffRequestId with value tostring(GetCurrentDateTimeUtc()). But if there is no time off limit set, then the Time off request is staying in Pending state instead of Pending Waitlisted and it is not going through the workflow.



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 13.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-23-2025 10:17

    @Krishna Raghuraman Is there a way to check if the Time off request is going through the HRIS Integration? I see some of the requests not going through the workflow and only staying in pending state. Only reason I could think of is, there is another integration I created without enabling and if Genesys is some how sending the requests through the Integration that is not enabled. But don't see a way to verify that.



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 14.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-10-2025 14:54

    What is correlationId that you are asking for?

    We see that the Integrationsync status is Failed under Timeoff Requests for the Timeoff Request mentioned. 



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 15.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-12-2025 08:06

    @Sesha Reddy Kalluri Venkata I would suggest adding an entry to your Flow.timeOffRequestId in your last update data block:

    1: Flow.statusCode = 200

    2: Flow.status = Complete

    3: Flow.timeOffRequestId = tostring(GetCurrentDateTimeUtc())

    I tested the above in my lab. With Flow.timeOffRequestId removed, agent request going thru auto-approval ends with Pending/Failed. Add it back and the request auto-approves successfully.  



    ------------------------------
    Lonny Schwartz
    Principal PS Consultant
    ------------------------------



  • 16.  RE: Genesys/ Workday HRIS Integration Integrating sync status shows as Failed and Time-Off Requests not auto approving

    Posted 06-13-2025 09:14

    Hi Lonny,

    What does adding Flow.timeOffRequestId = tostring(GetCurrentDateTimeUtc()) do? Update the Request Id with a value of Current Date and Time in UTC? And why would that impact suddenly when the solution has been working before?

    I can attempt that today and update if it works. But trying to understand why we are doing it.



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------