diff --git a/blog-csoar/2025-09-10-application-update.md b/blog-csoar/2025-09-10-application-update.md index aee03dff85..6084b57960 100644 --- a/blog-csoar/2025-09-10-application-update.md +++ b/blog-csoar/2025-09-10-application-update.md @@ -12,7 +12,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl'; ### New feature: Test nodes in playbooks -The new **Test Node** toggle on nodes allows you to test individual nodes in playbooks without having to run the entire playbook, offering greater control over node configuration and troubleshooting. +The new **Test Mode** toggle on nodes allows you to test individual nodes in playbooks without having to run the entire playbook, offering greater control over node configuration and troubleshooting. What's new: * Provide mock values for variables used in the node, and run the results to see the output and any errors. diff --git a/docs/platform-services/automation-service/playbooks/troubleshoot-playbooks.md b/docs/platform-services/automation-service/playbooks/troubleshoot-playbooks.md index ede8332a17..2e28e94a9c 100644 --- a/docs/platform-services/automation-service/playbooks/troubleshoot-playbooks.md +++ b/docs/platform-services/automation-service/playbooks/troubleshoot-playbooks.md @@ -15,7 +15,7 @@ To test a playbook before using it in an automation, see [Test a playbook](/docs ## Test nodes in a playbook -The playbook **Test Node** toggle lets you test individual nodes of a playbook without needing to complete the entire flow. Testing individual nodes helps you improve your playbooks' reliability and shorten configuration time. You can provide mock values for variables used in the node, and run the results to see the output and any errors. The results provide informative messages to help you troubleshoot problems. +The playbook **Test Mode** toggle lets you test individual nodes of a playbook without needing to complete the entire flow. Testing individual nodes helps you improve your playbooks' reliability and shorten configuration time. You can provide mock values for variables used in the node, and run the results to see the output and any errors. The results provide informative messages to help you troubleshoot problems. When you test nodes, keep in mind: * You can test action, condition, user choice, and task nodes. You cannot test filter or nested playbook nodes. @@ -28,17 +28,17 @@ To test a node: 1. Select a playbook. 1. Click the **Edit** button at the bottom of the screen to make a draft of the playbook. 1. Click the **Edit** button on a node. -1. Click the **Test Node** toggle at the top of the **Edit Node** dialog. An **Input** panel appears to the left, and an **Output** panel appears to the right.
Playbook Test Node toggle +1. Click the **Test Mode** toggle at the top of the **Edit Node** dialog. An **Input** panel appears to the left, and an **Output** panel appears to the right.
Playbook Test Mode toggle 1. In the **Input** panel, enter variables to test the node. When you click **SAVE & RUN TEST**, results of the test appear in the **Output** panel.
Ensure that you enter valid variables for the kind of inputs you need to test. Following are examples with different node types: * **Action**
In the following example that uses input from insights, we provide an insight ID. The output shows the result of the action.
Action node test variables * **Condition**
In the following example that uses input from reputation vendors, we provide reputation scores. The output shows the result of the condition.
Condition node test variables * **User choice**
In the following example that uses user input data, we provide an email address. The output provides the resulting user choice. Click the user choice options to test whether they work as expected.
User choice node test variables * **Task**
In the following example that uses incident input data, we provide a mock template name. The output provides the resulting task. Click the task options to test whether they work as expected.
Task node test variables 1. Examine the results in the **Output** panel and take any action needed to troubleshoot node operation: - * Click the information button Playbook Test Node JSON info button to see information on the test run:
Playbook Test Node info - * Click the **JSON details** button Playbook Test Node JSON details button to see the JSON output:
Playbook Test Node JSON details + * Click the information button Playbook test mode JSON info button to see information on the test run:
Playbook test mode info + * Click the **JSON details** button Playbook test mode JSON details button to see the JSON output:
Playbook test mode JSON details 1. Continue testing the node and making changes as needed in the node's configuration. When done, click **Save**. -1. Test each node in your playbook that has the **Test Node** button (action, condition, user choice, and task). In each node, enter variables in the **Input** panel and examine the results in the **Output** panel to ensure the node works correctly. +1. Test each node in your playbook that has the **Test Mode** button (action, condition, user choice, and task). In each node, enter variables in the **Input** panel and examine the results in the **Output** panel to ensure the node works correctly. After you're done testing individual nodes, test the entire playbook to ensure it runs end-to-end (see [Test a playbook](#test-a-playbook)).