Class BpmnInjectDynamicSubProcessBot

java.lang.Object
com.flowable.platform.service.bot.BpmnInjectDynamicSubProcessBot
All Implemented Interfaces:
BotService, ContextAwareBotService

public class BpmnInjectDynamicSubProcessBot extends Object implements ContextAwareBotService
  • Field Details

    • taskService

      protected org.flowable.engine.TaskService taskService
    • repositoryService

      protected org.flowable.engine.RepositoryService repositoryService
    • dynamicBpmnService

      protected org.flowable.engine.DynamicBpmnService dynamicBpmnService
  • Constructor Details

    • BpmnInjectDynamicSubProcessBot

      public BpmnInjectDynamicSubProcessBot(org.flowable.engine.TaskService taskService, org.flowable.engine.RepositoryService repositoryService, org.flowable.engine.DynamicBpmnService dynamicBpmnService)
  • Method Details

    • getKey

      public String getKey()
      Description copied from interface: BotService
      Returns the key of this bot which is used to link ActionDefinitions to this bot.
      Specified by:
      getKey in interface BotService
      Returns:
      the key of this bot, which needs to be unique amongst other bots
    • getName

      public String getName()
      Description copied from interface: BotService
      Returns the name of this bot, typically used as the label for it.
      Specified by:
      getName in interface BotService
      Returns:
      the name of this bot
    • getDescription

      public String getDescription()
      Description copied from interface: BotService
      Returns the optional description of this bot, describing its capabilities or prerequisites.
      Specified by:
      getDescription in interface BotService
      Returns:
      the optional description of this bot
    • invokeBot

      public BotActionResult invokeBot(BotInvocationContext context)
      Description copied from interface: BotService
      Whenever an action definition is triggered, an action instance is created and this method is invoked in order to execute the action. You need to provide an action result according the execution and follow up needed.
      Specified by:
      invokeBot in interface BotService
      Specified by:
      invokeBot in interface ContextAwareBotService
      Parameters:
      context - context objects related to the invocation
      Returns:
      the result of invoking the action