Package com.bytedesk.ticket.delegate
Class ThreadTransferServiceDelegate
java.lang.Object
com.bytedesk.ticket.delegate.ThreadTransferServiceDelegate
- All Implemented Interfaces:
org.flowable.engine.delegate.JavaDelegate
@Component("threadTransferServiceDelegate")
public class ThreadTransferServiceDelegate
extends Object
implements org.flowable.engine.delegate.JavaDelegate
客服会话转接服务
处理客服会话中的转接功能
- 记录转接信息
- 查找合适的转接目标
- 处理转接过程
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(org.flowable.engine.delegate.DelegateExecution execution) private String
findTransferTarget
(org.flowable.engine.delegate.DelegateExecution execution) 查找合适的转接目标private void
performTransfer
(org.flowable.engine.delegate.DelegateExecution execution, String fromAgentId, String toAgentId) 执行转接操作
-
Constructor Details
-
ThreadTransferServiceDelegate
public ThreadTransferServiceDelegate()
-
-
Method Details
-
execute
public void execute(org.flowable.engine.delegate.DelegateExecution execution) - Specified by:
execute
in interfaceorg.flowable.engine.delegate.JavaDelegate
-
findTransferTarget
查找合适的转接目标 -
performTransfer
private void performTransfer(org.flowable.engine.delegate.DelegateExecution execution, String fromAgentId, String toAgentId) 执行转接操作
-