- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-31-2025 10:59 PM - edited 08-31-2025 11:00 PM
Hi everyone,
I have a Post-Processing script that uses the setPlaybook
command to switch the incident to a playbook called test1
.
The problem is that when I close the incident, the script doesn’t run just once - it keeps setting the same playbook repeatedly, and as a result the test1
playbook is triggered about 10 times in a row.
Here’s my code:
My question is:
How can I make sure the playbook is set only once, and avoid it running multiple times during closing?
Thanks in advance!
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!