Package com.bytedesk.ticket.delegate
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(org.flowable.engine.delegate.DelegateExecution execution) private void
handleUnsatisfiedFeedback
(org.flowable.engine.delegate.DelegateExecution execution, Map<String, Object> feedbackData) 处理不满意的反馈private void
processUserFeedback
(org.flowable.engine.delegate.DelegateExecution execution, Map<String, Object> feedbackData) 处理用户反馈private boolean
sendSatisfactionSurvey
(String threadUid, String visitorId, String agentId) 发送满意度调查模拟用户反馈数据
-
Constructor Details
-
ThreadSatisfactionDelegate
public ThreadSatisfactionDelegate()
-
-
Method Details
-
execute
public void execute(org.flowable.engine.delegate.DelegateExecution execution) - Specified by:
execute
in interfaceorg.flowable.engine.delegate.JavaDelegate
-
sendSatisfactionSurvey
发送满意度调查 -
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) 处理不满意的反馈
-