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 Details

    • ThreadTransferServiceDelegate

      public ThreadTransferServiceDelegate()
  • Method Details

    • execute

      public void execute(org.flowable.engine.delegate.DelegateExecution execution)
      Specified by:
      execute in interface org.flowable.engine.delegate.JavaDelegate
    • findTransferTarget

      private String findTransferTarget(org.flowable.engine.delegate.DelegateExecution execution)
      查找合适的转接目标
    • performTransfer

      private void performTransfer(org.flowable.engine.delegate.DelegateExecution execution, String fromAgentId, String toAgentId)
      执行转接操作