Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  Regarding repeat menu for no input using Datatable

    Posted 05-29-2023 03:19

    Hi Everyone,

    I have small doubt in Genesys Cloud.

    At menu level there is a configuration to play how many times if there is no input from the caller. I want this value to come from a Datatable. 

    For example In a Datatable I have a value as 3, now menu should repeat 3times if no input.

    Later If I change this value to 5, menu should repeat 5times if no input.

    Please let me know how can we do
    this..


    #Implementation
    #PlatformAdministration
    #GenesysCloudCXQAEpisode

    ------------------------------
    Naga Praneeth Mandali
    Individual Only Contact Account
    ------------------------------


  • 2.  RE: Regarding repeat menu for no input using Datatable

    Posted 05-30-2023 01:40
    Edited by Brandon Kemp 05-30-2023 01:40

    Hey there,

    This is how I would go about it - 

    Create a data table in the kind of format you need. If there's different loops, maybe you can have a Loops Datatable. Have at least two columns, one with the Loop name and one with the amount. I.e
    IDInputLoop | 2
    PostcodeInputLoop | 5

    Then in your Architect flow, prior to your loop - Have a data table lookup and in the "Input" put the row key you're wanting. Store the output in a variable. Under this, create a loop and change the "Maximum Loop Count" to an expression and put your variable in there. Then in the loop, have a "Collect Input" node. If it goes down the "Failure" path of a Collect Input node, that is no input so chuck in a "Next Loop". If it goes down the "Success" path, do your error checking (if required) and do an exit loop! 

    I hope this makes sense

    Cheers



    ------------------------------
    Brandon Kemp
    Nationwide News Pty Ltd
    ------------------------------



  • 3.  RE: Regarding repeat menu for no input using Datatable

    Posted 05-30-2023 01:43

    Hi

    Start your flow with a Task where you perform Data Table Lookup to retrieve the number and map the output to variable say Flow.number. Then use the jump to menu block to point to your Menu.

    Now edit the Menu Options > Number of time to repeat menu to set to Expression and configure Flow.number as value. 



    hope this helps



    ------------------------------
    Cheers
    Zubair
    ------------------------------



  • 4.  RE: Regarding repeat menu for no input using Datatable

    Posted 05-30-2023 02:12

    Thanks for your valuable information. 



    ------------------------------
    Naga Praneeth Mandali
    Individual Only Contact Account
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources