Class DeskManagementBot
java.lang.Object
com.flowable.engage.engine.impl.desk.bot.DeskManagementBot
- All Implemented Interfaces:
BotService
A service bot managing desk and ticket conversations.
- Author:
- Micha Kiener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ConversationPermissionServiceprotected final ConversationServiceprotected final DeskServiceprotected final PlatformIdentityServiceprotected final MessageServiceprotected final UserDefinitionService -
Constructor Summary
ConstructorsConstructorDescriptionDeskManagementBot(ConversationService conversationService, ConversationPermissionService conversationPermissionService, MessageService messageService, PlatformIdentityService identityService, UserDefinitionService userDefinitionService, DeskService deskService) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()getName()protected voidprotected voidhandleCreateNewTicketAction(String conversationId, String currentUserId, Map<String, Object> payload) protected voidhandleRemoveDeskMemberFromTicketAction(String conversationId, String currentUserId, Map<String, Object> payload) invokeBot(HistoricActionInstance actionInstance, ActionDefinition actionDefinition, Map<String, Object> payload) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.flowable.action.api.bot.BotService
invokeBot
-
Field Details
-
conversationService
-
conversationPermissionService
-
messageService
-
identityService
-
userDefinitionService
-
deskService
-
-
Constructor Details
-
DeskManagementBot
public DeskManagementBot(ConversationService conversationService, ConversationPermissionService conversationPermissionService, MessageService messageService, PlatformIdentityService identityService, UserDefinitionService userDefinitionService, DeskService deskService)
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceBotService
-
getName
- Specified by:
getNamein interfaceBotService
-
getDescription
- Specified by:
getDescriptionin interfaceBotService
-
invokeBot
public BotActionResult invokeBot(HistoricActionInstance actionInstance, ActionDefinition actionDefinition, Map<String, Object> payload) - Specified by:
invokeBotin interfaceBotService
-
handleCreateNewTicketAction
-
handleAssignTicketAction
-
handleRemoveDeskMemberFromTicketAction
-