Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  WFM HRIS Integration - Error Messages

    Posted 16 days ago

    In the Insert and Update TimeOff workflows there is an error message output (Flow.errorMsg) but this doesn't seem to show up anywhere. Is it possible to view this either as an agent or as a WFM admin? We are adding some additional logic into the workflows to block requests under certain scenarios, one of those being if the number of days requested is greater than 14. While this works, it shows the reason being "Insufficient Balance", it would be great if the value set for Flow.errorMsg were to show somewhere so agents and/or admins could see that the actual reason why the request is in a pending state.


    #Architect
    #Integrations

    ------------------------------
    James Foster
    Technical Consultant
    ------------------------------


  • 2.  RE: WFM HRIS Integration - Error Messages

    Posted 15 days ago

    Flow.errorMsg output variable is not used anywhere except for logging purposes. Since this information is not sent through API response, it cannot be viewed by agent or admin. The Flow.status is an option here and it does support 'NotAllowed' as a potential value. So you could validate the case where days requested is greater than 14 and set 'NotAllowed' . We do not have plans to transmit the Flow.errorMsg through API at the moment but you are welcome to add it to idea portal for consideration. Hope this helps.



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