Hi,
I am working on some plumbing to cancel DA jobs that I initiate. One use case I'm trying to figure out is when the task has been scheduled for some time in the future. If I run $DistributedAgents.MapPkg.UnMap() on my queued task, it deletes its row out of WorkerQueuePending, but not WorkerQueue, where I still have an entry with a later execution date. My questions are 1) will this task become active at the activation date? and 2) if the UnMap function won't work on jobs scheduled in the future, is there a recommended way of dequeuing the agent job? I'd rather not go in and start messing with rows in the DA WOrker tables if I don't have to.
-Hugh