Skip to main content
March 14, 2022
Solved

tasks lists

  • March 14, 2022
  • 7 replies
  • 0 views

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?

    Best answer by siddagangus0001

    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
    March 14, 2022

    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
    March 14, 2022

    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
    March 14, 2022

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