Hi all I'm trying to remove task on server, here is the API
in the query you can see i use a processkey as a flag to destroy all tasks which are related to my project. And i got this exception:
How can we solve it? Thanks asked 16.12.2016 at 03:49 trungdv |
It’s not possible to destroy a task in state DONE. A Task in state DONE or DESTROYED implies that the task has been finished. The state DONE implies a normal ending, the state DESTROYED an abnormal ending (performed by a user / API call). As the state diagram below shows, both are ending states. Btw, when you try to delete a Task/Case physically from the DB the answer how-to-cleanup-old-cases-tasks could help. answered 16.12.2016 at 11:46 Flavio Sadeghi ♦♦ hi @Flavio Sadeghi ♦♦ Another question, can we change task state from RUNNING state to DELAYED programmatically? i see ivy does not expose function to set state, it may break this diagram if we expose api, right?
(12.05.2017 at 04:31)
trungdv
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 16.12.2016 at 03:49
Seen: 2,598 times
Last updated: 12.05.2017 at 04:31