如何在医院中杀死人流? [英] How Do I Kill A Flow In The Hospital?

查看:36
本文介绍了如何在医院中杀死人流?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

医院文档说:

您应该能够使用与节点日志消息中的失败流相关联的UUID调用killFlow.

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

我显然无法从我的RPC客户端访问节点日志.

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?

推荐答案

  • 打开节点终端.
  • 键入 run stateMachinesSnapshot 以查看所有当前流.
  • 获取住院流程的ID,然后使用该ID运行 flow kill .
  • 显然,您的RPC用户必须具有正确的权限(请参阅这里).
    • 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).
    • 这篇关于如何在医院中杀死人流?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆