If-Then-Else

A transformer for simple if-then-else logic. This can potentially reduce the number of tasks required for a given playbook.

Script Data#


NameDescription
Script Typejavascript
Tagstransformer, general
Demisto Version5.0.0

Inputs#


Argument NameDescription
valueThe value to evaluate
equalsIf value equals this
thenReturn this value if 'equals' is true
elseReturn this value if 'equals' is false

Outputs#


There are no outputs for this script.