Class ThreadInitializeDelegate

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

@Component("threadInitializeDelegate") public class ThreadInitializeDelegate extends Object implements org.flowable.engine.delegate.JavaDelegate
客服会话初始化服务 负责在客服会话流程开始时进行初始化操作 - 生成并记录必要的流程变量 - 记录会话开始时间和基本信息 - 设置默认处理策略
  • Constructor Details

    • ThreadInitializeDelegate

      public ThreadInitializeDelegate()
  • Method Details

    • execute

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

      private String generateThreadUid()
      生成会话UID
    • initializeBasicInfo

      private void initializeBasicInfo(org.flowable.engine.delegate.DelegateExecution execution)
      初始化会话基本信息
    • initializeProcessingStrategy

      private void initializeProcessingStrategy(org.flowable.engine.delegate.DelegateExecution execution)
      初始化处理策略