Skip to main content

Orchestrate Next Gen

Automatically add a new Key-Value pair to a Persistent List

You can automatically add a key-value pair to a Persistent List by configuring a persistent node and executing the associated Playbook.

To automatically add a key-value pair to a Persistent List:

  1. Click Main Menu, and select Playbooks > Manage Playbooks.

  2. Click New Playbook.

  3. Enter the required details in Playbook Details.

  4. Drag and drop Persistent node to the canvas.

  5. Connect the persistent node from the start node or from any other playbook node.

  6. In Node Parameters, enter the following dynamic path expression in the Key field and enter the required value in Value field.

    ${persistent_list(<slug>,<path.key>)}

    Note

    • Slug is a unique identifier for a Persistent List generated from the title of a Persistent List, and it does not contain spaces or uppercase characters.

    • You can type ${persistent_list( to get auto suggestions for persistent lists to choose from and then select a persistent list to autofill a slug name for a persistent list.

    Example:

    Entering ${persistent_list(sample-persistent-list,ip)} in the Key field and https://www.computerhope.com in the Value field adds a new key-value pair “url”: "https://www.cyware.com" to a sample-persistent-list.

  7. After entering the required dynamic path expression, click Save and Run.

  8. In Provide Input For Playbook Execution, choose from either Manual Input, Event, or Playbook Run Log, and click Run Playbook.