Skip to main content

GetValuesOfMultipleFields

This Script is part of the Filters And Transformers Pack.#

The script receives a list of fields and a context key base path. For example, Key=Test.result List=username,user and will get all of the values from Test.result.username and Test.result.user. The Get field of the task must have the value ${.=[]}.

Script Data#


NameDescription
Script Typepython3
Tagstransformer
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
keyThe base context path under which to find the fields. For example Test.Results.
listThe list of fields to retrieve from context. The list can contain comma seperated values. For example key1,key1
valueThe value to set in context for the key.

Outputs#


There are no outputs for this script.