WF 4 的呼叫中心工作流程场景
我需要为呼叫中心开发工作流程。机器人会向呼叫者询问一些预定义的问题。根据答案,工作流程将决定要提出的问题,并最终将呼叫者重定向到具有所需技能的代表。
根据上面的场景,我有几个问题。
如何使工作流程在向呼叫者提出问题和接收呼叫者的响应之间“等待”?我必须使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.