Skip to main content

Cyware Orchestrate

Retrieve a Value from a Persistent List

You can retrieve a value from a Persistent List using dynamic paths and pass that value as an input to a Playbook or a Playbook node.

To retrieve a value from a Persistent List:

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

  2. Click New Playbook.

  3. Enter the required details in the Playbook overview.

  4. Drag and drop any Playbook node from the Playbook canvas.

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

  6. In the input field, enter the following dynamic path expression to retrieve a value from a Persistent List.

    ${persistent-list::<slug for a persistent list>::<enter key whose value you need to fetch>}

    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:

    ${persistent_list(sample-persistent-list,ip)} retrieves the value associated with a key ip from 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.