Class ThreadSatisfactionDelegate

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

@Component("threadSatisfactionDelegate") public class ThreadSatisfactionDelegate extends Object implements org.flowable.engine.delegate.JavaDelegate
客服会话满意度评价服务 处理客服会话结束时的满意度评价功能 - 发送满意度调查 - 收集满意度评价数据 - 处理评价反馈
  • Constructor Details

    • ThreadSatisfactionDelegate

      public ThreadSatisfactionDelegate()
  • Method Details

    • execute

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

      private boolean sendSatisfactionSurvey(String threadUid, String visitorId, String agentId)
      发送满意度调查
    • simulateUserFeedback

      private Map<String,Object> simulateUserFeedback()
      模拟用户反馈数据
    • processUserFeedback

      private void processUserFeedback(org.flowable.engine.delegate.DelegateExecution execution, Map<String,Object> feedbackData)
      处理用户反馈
    • handleUnsatisfiedFeedback

      private void handleUnsatisfiedFeedback(org.flowable.engine.delegate.DelegateExecution execution, Map<String,Object> feedbackData)
      处理不满意的反馈