Skip to main content
Inspiring
Mar 14, 2022 8:50 AM UTC
Solved

tasks lists

Hi.......

I am having the requirement on click of one choice in dropdown field. Need to show lists of more than 20 actions in the actions lists tab. I am not getting logic on this, Can someone help on this?

    Inspiring
    Mar 14, 2022 9:08 AM UTC

    yes it is filter.

    item: a!dropdownField(
    showWhen: ri!actionTypes_txt <> cons!CR_TXT_PENDING_ACTION_TABS[2],
    label: cons!CR_LAB_PENDING_ACTION_FILTERS[4],
    labelPosition: "ABOVE",
    placeholderLabel: "--- Select a Value ---",
    choiceLabels: touniformstring({
    index(
    cons!MODULE_NAMES,
    {
    1,
    2,
    3
    }
    ),
    "QA",
    "Action"
    }),
    choiceValues: touniformstring({
    index(

    cons!FLOW_IDS,


    {
    1,
    2,
    3,
    5
    }
    ),

    "Facilities"

    }),
    value: local!moduleId_int,
    saveInto: {
    local!moduleId_int
    },
    validations: {}
    )

    7 replies

    gopalk2865
    Participating Frequently
    Mar 14, 2022 9:02 AM UTC

    Hi, few questions before we answer,

    Where are you using this drop down? What are the values in drop down?

    Is this drop down a filter ?

    siddagangus0001AuthorAnswer
    Inspiring
    Mar 14, 2022 9:08 AM UTC

    yes it is filter.

    item: a!dropdownField(
    showWhen: ri!actionTypes_txt <> cons!CR_TXT_PENDING_ACTION_TABS[2],
    label: cons!CR_LAB_PENDING_ACTION_FILTERS[4],
    labelPosition: "ABOVE",
    placeholderLabel: "--- Select a Value ---",
    choiceLabels: touniformstring({
    index(
    cons!MODULE_NAMES,
    {
    1,
    2,
    3
    }
    ),
    "QA",
    "Action"
    }),
    choiceValues: touniformstring({
    index(

    cons!FLOW_IDS,


    {
    1,
    2,
    3,
    5
    }
    ),

    "Facilities"

    }),
    value: local!moduleId_int,
    saveInto: {
    local!moduleId_int
    },
    validations: {}
    )

    gopalk2865
    Participating Frequently
    Mar 14, 2022 9:19 AM UTC

    What about the data? Are you querying from process report and trying to show tasks in grid?