英文:
How can I create a Mail-Reminder on an Event-Based Gateway?
问题
我想在等待消息以继续工作流程时向用户发送电子邮件提醒。此部分目前建模如下:
如您所见,我使用了一个“基于事件的网关”来在两个消息之间做出决策。此外,我使用了一个“定时器中间捕获事件”,类型为循环,以触发,例如每10分钟一次。
任务“Approval Person erinnern”是一个处理邮件传递的外部任务。
我遇到的问题是,在等待外部任务工作者完成“Approval Person erinnern”任务时,我必须离开“基于事件的网关”。在等待的过程中,我无法收到我正在等待的消息。在我的用例中,发送提醒邮件和接收定义的消息之一可能会并行发生。
有没有想法如何更改我的模型图以实现我的目标?
我正在使用Camunda Platform 7.19。
我尝试使用异步继续功能,但没有成功。
英文:
I want to send E-Mail reminder to a user while I am waiting for a Message to continue the Workflow. This Part is currently modelled like this:
As you can see, I am using an "Event-Based Gateway" to decide between two Messages. In addition, I use a "Timer Intermediate Catch Event" with the type cycle to fire, e.g. every 10 Minutes.
The Task "Approval Person erinnern" is an external Task which handles mail delivery.
The Problem I am having is that I have to leave the "Event-Based Gateway" to send a reminder Mail. While I am waiting for my External Task Worker to finish the "Approval Person erinnern" task, I can't receive the messages I am waiting for. In my Use case, sending a reminder Mail and received one of the defined messages could happen parallel.
Any idea how I could change my model Diagram to achieve my Goal?
I am using Camunda Platform 7.19
I tried to use the Asynchronous continuations feature but did not have any luck with it.
答案1
得分: 0
这应该可以工作。嵌入子流程中的主要流程保持活动状态,直到收到“genehmigt”或“abgelehnt”消息,通过您触发的非中断中间计时器来触发电子邮件提醒。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论