Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Script Custom Action

    Posted 06-05-2025 15:43
    No replies, thread closed.

    How do I get my if/else custom action to look at 2 values. I want to say if my queue ID equals "value1" OR "value2"

    But I cant get it to work. Not sure what im doing wrong.


    #ArchitectureandDesign

    ------------------------------
    Nick Argeson
    Telephony Admin
    ------------------------------


  • 2.  RE: Script Custom Action
    Best Answer

    Posted 06-05-2025 16:18
    No replies, thread closed.

    Top is the IF where you check to see if the variable equals the first value

    THEN is the behavior to follow if that IF evaluates to TRUE

    ELSE is the action to take if the first one is not true. You can embed another If/Else step within that ELSE instead of performing an action to check whether the variable matches the second value to make it an If/Then/ElesIf statement.



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 3.  RE: Script Custom Action

    Posted 06-05-2025 16:28
    No replies, thread closed.

    I'm not sure if you can do that in 1 If/else function you might have to use a 2nd If/else under the Else side of the first one.

    Alternatively you could create a dynamic true/false variable like the below, then have your If/else function above check if that variable is true





    ------------------------------
    Cam Stone
    ------------------------------