Marc Canals Giraut
Marc Canals Giraut

Reputation: 354

Get workflowApplication state

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 persisted 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.

Upvotes: 1

Views: 777

Answers (1)

Maurice
Maurice

Reputation: 27632

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

Upvotes: 1

Related Questions