开发者

Get workflowApplication state

开发者 https://www.devze.com 2023-03-19 19:15 出处:网络
We would like to know if there is some way to get the current state (Running, Idle, Completed,...) of a workflow instance, using workflowapplication hosting.

We would like to know if there is some way to get the current state (Running, Idle, Completed,...) of a workflow instance, using workflowapplication hosting.

When the application is shouting down, we want to wait for idle (or completed) state of all our workflow instances(we have a collection of them) in order to be persist开发者_C百科ed in the instance store.

We know that we can get the state when we get idle, completed, aborted,... events, but we need to get the status at anytime...

Thanks in advance.


There is no out of the box status property you can check for this. However using workflow tracking this is quite easy to implement.

0

精彩评论

暂无评论...
验证码 换一张
取 消