You can set up a post-processing script to run after
an incident has been remedied, but before the incident is closed
in Cortex XSOAR.
After you remedy an incident, you may
want to perform additional actions on the incident, such as closing
a ticket in a ticketing system or sending out an email. You can
create a post-processing script to cover these scenarios.
If a post-processing script returns an error, the incident
does not close.