---
title: "Output data | Customer&#x27;s Canvas Hub"
canonical: "https://customerscanvas.com/docs/hub/dev-center/frontend-integration/workflow-elements/cc-options/output-data/"
---

# 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:

```js
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.

```js
{
    "75154": [266756]
}
```

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

```js
{
    "9713": [
        16928,
        16927
    ]
}
```
