简体   繁体   中英

How to check if workflow is running.(WF4)

I have 3 separate applications that use same persisted workflows. 2 of them are web apps and third is win form app that monitors WF. I am currently using my own queries to DB to check if WF is running or idle by processID guid. Is there some native way to check if WF is running, idle ..... by by processID that I use for correlation that will not lock workflow instance.

我认为更好的方法是使用日志,数据库中的日志和指示状态的仪表板,或者Windows或Windows Server中的内置系统监视器和性能计数器,这些都是任何方法中的标准方法。 IT环境。

You can promote the correlation key, then you can query the instance base on the correlation key. See here for an explanation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM