Class BpmnCompletedUserTaskBot
java.lang.Object
com.flowable.platform.service.bot.BpmnCompletedUserTaskBot
- All Implemented Interfaces:
- BotService
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the optional description of this bot, describing its capabilities or prerequisites.getKey()Returns the key of this bot which is used to linkActionDefinitions to this bot.getName()Returns the name of this bot, typically used as the label for it.invokeBot(HistoricActionInstance actionInstance, ActionDefinition actionDefinition, Map<String, Object> payload) Whenever an action definition is triggered, an action instance is created and this method is invoked in order to execute the action.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.flowable.action.api.bot.BotServiceinvokeBot
- 
Field Details- 
taskService
 
- 
- 
Constructor Details- 
BpmnCompletedUserTaskBot
 
- 
- 
Method Details- 
getKeyDescription copied from interface:BotServiceReturns the key of this bot which is used to linkActionDefinitions to this bot.- Specified by:
- getKeyin interface- BotService
- Returns:
- the key of this bot, which needs to be unique amongst other bots
 
- 
getNameDescription copied from interface:BotServiceReturns the name of this bot, typically used as the label for it.- Specified by:
- getNamein interface- BotService
- Returns:
- the name of this bot
 
- 
getDescriptionDescription copied from interface:BotServiceReturns the optional description of this bot, describing its capabilities or prerequisites.- Specified by:
- getDescriptionin interface- BotService
- Returns:
- the optional description of this bot
 
- 
invokeBotpublic BotActionResult invokeBot(HistoricActionInstance actionInstance, ActionDefinition actionDefinition, Map<String, Object> payload) Description copied from interface:BotServiceWhenever 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.API NOTE: Prefer overriding BotService.invokeBot(BotInvocationContext)instead and leave this empty. Alternatively useContextAwareBotServiceinstead, to avoid overriding an empty method.- Specified by:
- invokeBotin interface- BotService
- Parameters:
- actionInstance- the action instance to run
- actionDefinition- the action definition where the action instance is based on
- payload- the optional payload containing the necessary information to run the action
 
 
-