How Do I Kill A Flow In The Hospital?

风流意气都作罢 提交于 2020-12-13 03:21:06

问题


The Hospital docs says:

you should be able to call killFlow with the UUID associated with the failing flow in the node’s log messages.

I obviously can't access the node logs from my RPC client.

So how am I supposed to get a list of flows in the hospital, find the reason why they were put in the hospital and kill the ones that I know will never complete?


回答1:


  • Open the node terminal.
  • Type run stateMachinesSnapshot to see all of the current flows.
  • Get the ID of the hospitalized flow then run flow kill with that ID.
  • Obviously, your RPC user must have the right permissions (see here).


来源:https://stackoverflow.com/questions/64815639/how-do-i-kill-a-flow-in-the-hospital

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!