WF 4 的呼叫中心工作流程场景

发布于 2024-08-30 20:25:36 字数 261 浏览 5 评论 0原文

我需要为呼叫中心开发工作流程。机器人会向呼叫者询问一些预定义的问题。根据答案,工作流程将决定要提出的问题,并最终将呼叫者重定向到具有所需技能的代表。

根据上面的场景,我有几个问题。

如何使工作流程在向呼叫者提出问题和接收呼叫者的响应之间“等待”?我必须使用 HandleExternalEvent 吗?如果是这样,我是否必须为每个问题定义一个事件?

流程图工作流程似乎是最好的解决方案,但我现在无法想象如何处理这个等待问题。

任何帮助表示赞赏。

I need to develop a workflow for a call center. A bot will ask some predefined questions to the caller. Based on the answers the workflow will decide the questions to ask and finally redirect the caller to a representative that has required skills.

Based on the scenario above, I have several questions.

How can I make the workflow "wait" between asking a question to the caller and receiving response from the caller? Do I have to use HandleExternalEvent? If so do I have to define an event for every question?

Flowchart workflow seems to be the best solution but I can't imagine how to handle this waiting issue right now.

Any help is appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

枫林﹌晚霞¤ 2024-09-06 20:25:36

HandleExternalEvent 是 WF3 的一个概念,在 WF4 中不再存在。

WF4 中的等待可以使用 NativeActivity 派生活动和书签来完成。该活动创建书签,并且工作流运行时等待书签恢复。这可以从其他地方完成,可以通过 WorkflowApplication 或工作流扩展来完成,一旦完成,活动就完成了,工作流将继续。

这里是使用 IWorkflowInstanceExtension 的示例。

HandleExternalEvent is a WF3 concept that doesn't exist in WF4 anymore.

Waiting in WF4 can be done using a NativeActivity derived activity and a bookmark. The activity creates the bookmark and the workflow runtime waits for the bookmark to be resumed. This can be done from some other place, either through a WorkflowApplication or a workflow extension and once done the activity is finished and the workflow continues.

Here is an example using an IWorkflowInstanceExtension.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文