由 REST API 触发的 Camunda 计时器中间捕获事件

Camunda Timer Intermediate Catch Event trigger by REST API

我有一个简单的 Camunda BPMN 图。我添加了一个计时器中间捕获事件并将持续时间设置为 23 小时 (PT23H) 以用于测试目的。我试图在等待 postion 期间通过 Camunda REST Api 触发计时器事件。试图调用 rest api 以下 post 请求但给了我一个错误。你知道我怎样才能正确地称呼它吗?谢谢

http://camunda-xxx/rest/message

{
"processInstanceId":"e984e112-27cd-11ea-8f92-0a580a800328",
"messageName":"Test"
}

{
    "type": "RestException",
    "message": "org.camunda.bpm.engine.MismatchingMessageCorrelationException: Cannot correlate message 'Test': No process definition or execution matches the parameters"
}

您无法通过消息触发计时器。 要么使用基于事件的网关,这样进程要么等待计时器或消息然后继续,要么 modify the timer jobs due date