Class VacationRequestBot

java.lang.Object
com.flowable.example.BaseExampleService
com.flowable.example.hr.bot.VacationRequestBot
All Implemented Interfaces:
com.flowable.action.api.bot.BotService

public class VacationRequestBot
extends BaseExampleService
implements com.flowable.action.api.bot.BotService
A simple bot service used to handle the action definitions used in the vacation request case and conversation.
Author:
Micha Kiener
  • Field Details

  • Constructor Details

    • VacationRequestBot

      public VacationRequestBot​(org.flowable.engine.RuntimeService processService, org.flowable.engine.HistoryService processHistoryService, org.flowable.cmmn.api.CmmnRuntimeService caseService, org.flowable.engine.TaskService taskService, com.flowable.core.idm.api.PlatformIdentityService identityService, ConversationService conversationService, MessageService messageService)
  • Method Details

    • getKey

      public java.lang.String getKey()
      Specified by:
      getKey in interface com.flowable.action.api.bot.BotService
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface com.flowable.action.api.bot.BotService
    • getDescription

      public java.lang.String getDescription()
      Specified by:
      getDescription in interface com.flowable.action.api.bot.BotService
    • invokeBot

      public com.flowable.action.api.bot.BotActionResult invokeBot​(com.flowable.action.api.history.HistoricActionInstance actionInstance, com.flowable.action.api.repository.ActionDefinition actionDefinition, java.util.Map<java.lang.String,​java.lang.Object> payload)
      Specified by:
      invokeBot in interface com.flowable.action.api.bot.BotService