Set the list separator character in Cortex XSOAR using server configurations. The default separator for lists is a comma.
When you create a list, the data is a just a string of items. The items in a list are distinguished from one another using a separator. The default separator is a comma.
You can set a custom separator globally (all lists) or for individual lists. The custom list separator can only be a single character, for example a single semicolon (;) or a single colon (:). If you set the separator as multi-character, the default separator will be applied.
If you set a global list separator and custom separator for an individual list, the separator set for the individual list overrides the global list separator.
After setting a new separator, the separators in existing lists are not updated and are not treated as separators anymore. You can use the Replace
transformer to modify an existing list and replace all instances of the previous separator with the new separator.
Go to
→ → .In the Server Configuration section, click Add Server Configuration.
Add the necessary key and value.
Type
Key
Value
Global
list.separator
Single-character separator. For example “;”.
List
list.<
listName
>.separatorSingle-character separator. For example “;”.