AppendIfNotEmpty
This Script is part of the Filters And Transformers Pack.#
Supported versions
Supported Cortex XSOAR versions: 6.0.0 and later.
Append item(s) to the end of the list if they are not empty.
Script Data#
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | transformer, entirelist, general |
Inputs#
| Argument Name | Description |
|---|---|
| value | The list to which we will add the items. |
| item | Item(s) to append. Comma separated supported. |
| raw | Set to true if you want to append item(s) without separating them by comma |
Outputs#
There are no outputs for this script.