Skip to main content
akshayg0010
Known Participant
Jun 17, 2022 9:05 AM UTC
Question

Display value in Drop Down Dynamically

Dynamically display 

    3 replies

    stefanhelzle0001
    Brainy
    Jun 17, 2022 9:32 AM UTC

    What exactly do you mean with "without using Record"?

    Do you know this pattern: https://docs.appian.com/suite/help/22.2/recipe-configure-cascading-dropdowns.html

    A drop down will always show the values defined in the choiceValues / choiceLabels pair of parameters. These can be fed by rule inputs, local variables and expressions.

    gopalk2865
    Participating Frequently
    Jun 17, 2022 1:32 PM UTC

    HI Som, Are you asking about cascading dropdown or you have something different requirement?

    davel001150
    Inspiring
    Jun 17, 2022 4:46 PM UTC

    You can use if statement or choose, or match (which I really need to start using), or even an Appian Decision object to conditionally output a list of  strings.  This can be both your choice values and your choice labels, or you can create two rules to make your values and labels separately, or you can create one rule to alter them both.  They can update on user input, or on auto-refresh if you loop a refresh local variable in the logic.

    Doesn't really matter what you do in the interim, as long as at the end of the day you have a list of any Type and an equal length list of Text.

    Let's see your specific case and we can boil down the answer to your case.