Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  How to check for Null when passed through DataBase through Data action

    Posted 07-03-2024 15:37
    Edited by Dhaval Modi 07-03-2024 15:37
    No replies, thread closed.

    Part of call flow when we try pulling data from DB and if we get Null/empty value for string how can it be validated?

    Any expressions or functions can be used?


    #ArchitectureandDesign

    ------------------------------
    Dhaval Modi
    MVP Health Plan, Inc.
    ------------------------------



  • 2.  RE: How to check for Null when passed through DataBase through Data action
    Best Answer

    Posted 07-03-2024 15:39
    No replies, thread closed.

    Use the IsNotSetOrEmpty and/or IsSet expressions.

    https://help.mypurecloud.com/articles/architect-expression-help/



    ------------------------------
    Melissa Bailey
    Genesys - Employees
    ------------------------------



  • 3.  RE: How to check for Null when passed through DataBase through Data action

    Posted 07-03-2024 15:57
    No replies, thread closed.

    Since you are calling the data action from Architect AND you are placing variables into the action inputs, you can easily check the variable or use an if statement on the input field to check and replace if null.



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------