Skip to main content

Cyware Orchestrate

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 overview.

  4. Drag and drop Persistent from Storage Node.

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

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

    ${persistent-list::<slug for a persistent list>::<enter the 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>::<url>} in Key field and https://www.computerhope.com in 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.