Details
| ID | SetMultipleValues |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10404775 |
| Tags | Utility |
README
Sets multiple key/value pairs to the context under a common parent key.
Script Data
| Name | Description |
|---|---|
| Script Type | python |
| Tags | Utility |
Inputs
| Argument Name | Description | Required | |||
|---|---|---|---|---|---|
| parent | The parent key to which we append all the other keys. | Required | |||
| keys | Separated list of keys separated by the specified delimiter (Comma is the default delimiter). | Required | |||
| values | Separated list of values separated by the specified delimiter (Comma is the default delimiter). | Required | |||
| delimiter | Delimiter by which the content of the values and keys lists are separated. Eg: “,” , “:”, “ |
”. Default is “,”. | Optional |
Outputs
There are no outputs for this script.
Example
Command
!SetMultipleValues parent=test_parent keys=key1,key2,key3 values=val1,valu2,val3
Context Result

commonfields: id: SetMultipleValues version: -1 name: SetMultipleValues script: '' type: python subtype: python3 tags: - Utility comment: Set multiple keys/values to the context. enabled: true args: - name: parent required: true default: true description: The parent key to which we append all the other keys. - name: keys required: true description: Separated list of keys separated by the specified delimiter (Comma is the default delimiter). - name: values required: true description: Separated list of values separated by the specified delimiter (Comma is the default delimiter). - name: delimiter required: false defaultValue: ',' description: |- Delimiter by which the content of the values and keys lists are separated. Eg: "," , ":", "|||". scripttarget: 0 fromversion: 5.0.0 dockerimage: demisto/python3:3.12.13.10404775 tests: - No tests (auto formatted)