How to rerun any Action if it got failed due to some reason via job

Hi team,

I want to know if there is any possibility that I can rerun any failed action via the job

Also, can I check if any action failed and rerun via script? 

Thanks

 

0 4 420
4 REPLIES 4

Hi messier63 - inside the case there is a re-run option.  

Also, there is an API call that could be scripted to run and check - Ill check around and see if I can find anything useful.  

curl -X 'POST' \ 'https://yourSOARinstance.siemplify-soar.com/api/external/v1/playbooks/RerunPlaybook' \

{
  "cyberCaseId": 0,
  "alertGroupIdentifier": "string",
  "alertIdentifier": "string",
  "shouldRunAutomatic": true,
  "wfName": "string",
  "originalWorkflowDefinitionIdentifier": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
curl -X 'POST' \
  'https://yourSOARinstance.siemplify-soar.com/api/external/v1/playbooks/RerunPlaybook' \
  -H 'accept: */*' \
  -H 'Content-Type: application/json;odata.metadata=minimal;odata.streaming=true' \
  -d '{
  "cyberCaseId": 0,
  "alertGroupIdentifier": "string",
  "alertIdentifier": "string",
  "shouldRunAutomatic": true,
  "wfName": "string",
  "originalWorkflowDefinitionIdentifier": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'

 

hi dnehoda,

i m looking for an action rerun rather than a whole playbook return. I tried to look around the doc but could not find anything.

Look at your swagger file to see supported API calls
https://____.siemplify-soar.com/swagger/index.html

Sometimes to find the right call, I use "Network" tab under DevTools, then complete the action on the Web front end, look for the API call the UI initiated and clone that. 

HTH

Hi Andy,

let me try this once.