Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Architect Decision - Included in range

    Posted 03-02-2020 07:06
    No replies, thread closed.
    Hi All,

    I am trying to get a decision to work in Architect but cannot get it correct.  I have the caller inputting a 3 digit number but would like to limit the number to a certain range such as between 100-199, so am setting a decision to check this.  However I cannot get the expression to function correctly, does anyone know the best way to do this or an example expression?

    Thanks Luke
    #ArchitectureandDesign
    #Routing(ACD/IVR)
    #SystemAdministration

    ------------------------------
    Luke Mitchell
    G3 Comms Ltd
    ------------------------------


  • 2.  RE: Architect Decision - Included in range
    Best Answer

    Posted 03-02-2020 08:36
    Edited by Luke Mitchell 03-02-2020 09:34
    No replies, thread closed.
    Hi @Luke Mitchell

    First, in your Collect Input action make sure that you have set exactly 3 digit under Numeric Input section.
    Then, you can use this expression inside a Decision block to check the range you mentioned 

    Flow.record2 >= "100" and Flow.record2 <= "199"


    where FLow.record2 : is the variable used to collect the user input.


    I have designed a task in Architect and tested it and it works as you expected.

    Below, a screenshot of what I just described.

    As you can see, I added a loop and as long as the decision is not verified, I loop 3 times and if the user input is within the range [100,199] , I exit the loop and continue the rest of my call flow.

    Hope it helps









    CHARAF


    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 3.  RE: Architect Decision - Included in range

    Posted 03-02-2020 09:35
    No replies, thread closed.
    Great thank you Charaf, that worked perfectly!

    ------------------------------
    Luke Mitchell
    G3 Comms Ltd
    ------------------------------