"taskComplete isAutoRun=True" not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

"taskComplete isAutoRun=True" not working

L4 Transporter

Hello,

We are using a playbook to run again tasks which are already running. Just to reset the task. However, when the command "taskComplete isAutoRun=True" is used, it doesn't run again. How can we avoid this? Is there another option?

2 REPLIES 2

L2 Linker

Hello @Josep , 

In order to reset a task you will need to reopen it first if it has been previously run. To reopen a task you can run the command !taskReopen which takes as arguments:
i. The id of the task (that can be a tag assigned to the task in the task's details tab).
ii. The incidentId of the incident running the playbook.
iii. The parentPlaybookID, which is to limit the task to reopen if it's found in different subplaybooks. 

E.g.
!taskReopen id=TaggedTask incidentId=1111

Once the task has been reopened, it can then be marked as completed using the !taskComplete command:
!taskComplete id=TaggedTask isAutoRun=true incidentId=1111
 

L4 Transporter

Thanks for your response  

We have tried to execute the command "!taskReopen id=TaggedTask". However, it doesn't work. This kind of strange behaviour seems to happen when we restart XSOAR and some running tasks get bugged. The status of these playbooks is still "running", so it makes it really difficult to detect. 

 

Any other ideas? Could it be something related to the docker running behind?

  • 921 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!