Skip to main content

Add Item to List action

Available for incident workflows

This action adds an item to an existing list within an incident tag. If the tag doesn't exist or is empty, then a new tag or list is created.

This action takes the following inputs:

  • List Item Templates

    The template for the new item and the incident tag that the new item should be added to. New items will always be appended to the end of a list. 

Incident example

Suppose that for all new incidents with a certain source, you want to add "router" to the list of devices in tags.devices. You can accomplish this by creating an incident workflow with an Add Item to List action.

After setting up the trigger to only activate the workflow on incidents matching the desired source, you can configure the Add Item to List action as follows:

  • List Item Templates

    • router, tags.devices

Here is an example incident that was processed by this workflow:

Incident fields before

Incident fields after

{
    "status": "open",
    "severity": "major",
    "description": "CPU above 70%",
    "classes": [
      "Compute"
    ],
    "services": [
      "support",
      "retail"
    ],
    "tags": {
      "devices": [
        "hub"
      ]
    },
    ...
}
{
    "status": "open",
    "severity": "major",
    "description": "CPU above 70%",
    "classes": [
      "Compute"
    ],
    "services": [
      "support",
      "retail"
    ],
    "tags": {
      "devices": [
        "hub",
        "router"
      ]
    },
    ...
}