BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Get choice list values

    Posted 01/27/25 05:55 AM
      |   view attached
    Hello,
    I want to get choice List values like this :
    [
        {
            "metadata": [
                {
                    "name": "symbolicname1",
                    "value": [
                        "Value11",
    "Value12"
     
     
                    ]
                },
          {
                    "name": "symbolicname2",
                    "value": [
                        "Value21",
    "Value22"
     
     
                    ]
                }
    ],
            "choicelist_id": "{XX-XX-XXXXX}"
        }
    ]
    I firstly use PROPERTY_DEFINITIONS classPFilter.addIncludeProperty(new FilterElement(null, null, null, PropertyNames.PROPERTY_DEFINITIONS, null) ) and it return   id value choicelist_id not the choicelist value.
    And when I add filter CHOICE_LIST,CHOICE_LISTS,CHOICE_STRING_VALUE,CHOICE_VALUES it is the same result.
    Need your tips.


    ------------------------------
    Mansour SOW
    BPM Technical Lead
    ------------------------------