Skip to main content

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#


NameDescription
Script Typejavascript
Tagstransformer, entirelist, general

Inputs#


Argument NameDescription
valueThe list to which we will add the items.
itemItem(s) to append. Comma separated supported.
rawSet to true if you want to append item(s) without separating them by comma

Outputs#


There are no outputs for this script.