Class ThreadHumanServiceDelegate

java.lang.Object
com.bytedesk.ticket.delegate.ThreadHumanServiceDelegate
All Implemented Interfaces:
org.flowable.engine.delegate.JavaDelegate

@Component("threadHumanServiceDelegate") public class ThreadHumanServiceDelegate extends Object implements org.flowable.engine.delegate.JavaDelegate
人工客服服务 处理客服会话中的人工服务阶段 - 记录服务开始和结束时间 - 监控服务质量和SLA - 处理人工服务过程中的事件
  • Constructor Details

    • ThreadHumanServiceDelegate

      public ThreadHumanServiceDelegate()
  • Method Details

    • execute

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

      private void recordServiceStart(org.flowable.engine.delegate.DelegateExecution execution)
      记录服务开始
    • recordServiceEnd

      private void recordServiceEnd(org.flowable.engine.delegate.DelegateExecution execution)
      记录服务结束
    • initializeSLATimer

      private void initializeSLATimer(org.flowable.engine.delegate.DelegateExecution execution)
      初始化SLA计时器
    • simulateHumanServiceProcess

      private void simulateHumanServiceProcess(org.flowable.engine.delegate.DelegateExecution execution)
      模拟人工服务过程
    • checkServiceQuality

      private void checkServiceQuality(org.flowable.engine.delegate.DelegateExecution execution)
      检查服务质量