Genesys Cloud - Developer Community!

 View Only

Sign Up

Make ListPickerItem and ListPickerSection empty to re-purpose in flow and way to display ReplyTitle after selecting the option from ListPicker

  • 1.  Make ListPickerItem and ListPickerSection empty to re-purpose in flow and way to display ReplyTitle after selecting the option from ListPicker

    Posted 4 days ago

    Hi Folks,

    I have created a ListPickerItem Collection and a ListPickerSection object dynamically using loop. After completion of the first loop, when the flow is entering into the same loop next time for loading new values in ListPickerItem Collection and ListPickerSection objects, previous values are persisting, I cannot flush those previous values with MakeEmptyList() function or NOT_SET. Also, tried other ways but all efforts went in vein. Please suggest a way to remove the previous values and reload it with new values only every time when the loop starts. Ex. for resetting any list we can use - MakeEmptyList(ToString(NOT_SET)). 

    Also, I want to show the selected slot value as ReplyMessage after selection and for that I used below function, but it didn't display selected answer. MakeListPicker(MakeList(Flow.DisplayListPickerSection), NOT_SET, Flow.Title, NOT_SET, NOT_SET, Slot.DisplayAnswer)

    Please let me me why the expression is not displaying the reply message and what will be the suggested way to express that. Though, I am doing this with communication block as a temporary workaround, but I want to know why the reply message is not showing being a part of expression format.


    #Architect

    ------------------------------
    Subhajit Podder
    NA
    ------------------------------