Contact us
Skip to main content

Output data

When the user selects an option value, this workflow element triggers the changed event. To process the result, handle this event as follows:

ccOptions.addEventListener("changed", event => console.log(event.detail));

As a result, a hashmap Record<number,number[]> is returned, where the key is a the identfier of the changed option, and the array contains a number representing the new value of a single-choice option.

{
"75154": [266756]
}

For multi-select options, several values may appear in the array.

{
"9713": [
16928,
16927
]
}
Was this page helpful?