|
Post by puwen on May 3, 2024 3:09:00 GMT
Hi,
When I was looking at the explanation of the TaskStatus Property, it mentioned, "This property shall contain the completion status of the task and shall not be set until the task completes." Does this completion status refer to the completion of the entire task or the completion of a state within it?
In simpler terms, is {"TaskState":"Pending","TaskStatus":"OK"} a usage that complies with the property description?
|
|
|
Post by mraineri on May 3, 2024 12:16:33 GMT
It's for when the entire task is complete. "Pending" is not a completed state for a task, thus TaskStatus is not expected to be present.
Effectively the only times you can have TaskStatus present is if the state is Completed, Killed, Exception, or Cancelled.
|
|
|
Post by puwen on May 4, 2024 17:08:20 GMT
Hi Sir, Your response is very clear, thank you for your answer.
|
|