Question about tasks collection behavior

Hi, I’m working with GenieACS and I have a question regarding how tasks are handled.

When I create a task using the endpoint:
POST /devices/<device_id>/tasks

An entry is created in the tasks collection in MongoDB. My questions are:

  • Is this task considered “pending” until the device executes it?
  • Once the device executes the task, is the entry automatically removed from the tasks collection, or does it remain stored there?

Thanks in advance for your help!

Yes

Yes

1 Like

Ok, perfect.
Thank you very much!