Playbook Testing and Task Node Re-runs
LAST UPDATED: MARCH 13, 2025
When testing a playbook, it is important to understand the difference between re-running a task and re-testing the entire playbook:
Re-running a task will not update Playbook Data or propagate new return data to downstream tasks.
Only re-testing the playbook applies updated configurations in subsequent executions.
For task nodes with the Stop on Error checkmark selected, re-running a task functions differently. Refer to Re-running a task node with Stop on Error Enabled for details.
.png?inst-v=6798c1ab-130a-491a-a9e4-b9ecc9e7d788)
Testing a Playbook
EXAMPLE Consider the following playbook:

Configure DF Task 1 to return "alpha."
Configure the conditional task with two branches: Branch 1 and Branch 2.
Configure the conditional task to evaluate DF Task 1's return data and route execution to Branch 1 if the value is "alpha", otherwise route to Branch 2.
CODE{% set x = PlaybookData | jsonpath('$.["DF Task 1"].returnData') %} {% if x == 'alpha' %} Branch 1 {% else %} Branch 2 {% endif %}
Click on the
button.
Click on the Run Test button.
Verify that execution followed Branch 1.
Click on the
icon for DF Task 1 to verify the output.
Click on the
icon for Conditional Task to confirm that "alpha" was indeed read.
Rerunning a Task Node
Continuing the example from above, re-running a task node executes only that task without resuming the playbook.
Re-configure DF Task 1 to return "beta."
Re-run DF Task 1.
Observe the return data.
Observe that DF Task 1 executed twice, with no changes occurring downstream, as indicated by the unchanged task icons.
OBSERVATION
According to the conditional logic defined here, one might expect DF Task 3 to have executed. However, this did not occur – no other task executed apart from DF Task 1.
Re-examine DF Task 1's return data within the conditional task.
INSIGHTS
The new return data did not propagate to downstream tasks.
The re-run DF Task 1 task did not update the Playbook Data.
The user will see that the return data of DF Task 1 remains "alpha" despite being configured to return "beta" here.
Re-run the conditional task.
Re-examine DF Task 1's return data from the conditional task's perspective.
OBSERVATION
DF Task 1's return data still remains "alpha" unchanged, despite being configured to return "beta" here and re-running the conditional task.
Observe that both DF Task 1 and Conditional Task executed twice, with no changes to the downstream execution path.
Stop the test and re-test the playbook.
Verify that execution followed Branch 2.
Click on the
icon for DF Task 1 to verify that it outputs "beta."
Click on the
icon for Conditional Task, to confirm that "beta" was indeed read.

LESSONS
Playbook Data remains unchanged for all nodes after re-running a task.
Re-testing the playbook applies updated task configurations in subsequent executions.
Re-running a Task Node with Stop on Error Enabled
The button behaves differently for tasks with Stop on Error enabled compared to those without it.
.png?inst-v=6798c1ab-130a-491a-a9e4-b9ecc9e7d788)
For a task with Stop on Error enabled, the button re-executes the failed task and resumes playbook execution from that point.

Rerun Button Availability in the Configuration Module
When testing playbooks in the Configuration module, the button remains available even after a successful (
) execution.
.png?inst-v=6798c1ab-130a-491a-a9e4-b9ecc9e7d788)
.png?inst-v=6798c1ab-130a-491a-a9e4-b9ecc9e7d788)

Understanding this behavior helps users use the button effectively for Stop on Error tasks, avoiding unintended task repetition. This is important for downstream task nodes, such as those creating Jira tickets or sending emails, where re-execution may result in unnecessary duplicates or repeated actions.
Rerun Button Availability in the Incident Workspace
In contrast to the Configuration module, the Incident Workspace displays the button only for errored tasks, and it disappears after being clicked.
READER NOTE
The button’s availability depends on the selected execution record in the Playbook Task Details dropdown.
ABSENT in a successfully re-executed (
) task.
PRESENT in the original error (
) execution.
CAUTION Re-executing may cause unintended duplicates or repeated actions in downstream tasks.