- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-22-2022 09:34 AM
Hello,
When does a post-script execute? When the incident is completely closed?
12-14-2022 02:44 PM
Hey @Josep,
A post-processing script executes once you click on"close incident" and submit the close form, or once the closeInvestigation automation is run.
So it's right when the incident is about to close, and then once the post-processing script completes the incident closes.
Note that as stated here: https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Post-P...
If a post-processing script returns an error, the incident does not close.
12-14-2022 02:44 PM
Hey @Josep,
A post-processing script executes once you click on"close incident" and submit the close form, or once the closeInvestigation automation is run.
So it's right when the incident is about to close, and then once the post-processing script completes the incident closes.
Note that as stated here: https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Post-P...
If a post-processing script returns an error, the incident does not close.
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!