What is the difference between getEnumArray and getEnumObject. and how to configure it?

what is the difference between getEnumArray and getEnumObject. and how to configure it ?

Hello! @Vishwajeet_Singh,
GETENUMARRAY() is used to copy the selected code-value from a multi-select dropdown, while GETOBJ() is used to copy the selected code-value from a single-select dropdown.

GETENUMARRAY(path, code): Here, path refers to the list from which the data is coming to the dropdown, and code is the dropdown name.

Below are the steps:

  1. Create an entity and an object for the single-select dropdown, such as:
    "single_select": {"code": "value"}
    And create a list for the multi-select dropdown like:
    "ms_values": [{"code": "value"}]

  2. On the onSelect event of the single-select dropdown, use the Copy Data task to copy the selected value to the "single_select" object.



  3. Similarly, for the multi-select dropdown, use the Copy Data task to copy the selected values to the "ms_values" list.



If this answers to your question, mark it as a solution.

13 Likes