Class AbstractStartWorkInstanceBot
java.lang.Object
com.flowable.platform.service.bot.AbstractStartWorkInstanceBot
- All Implemented Interfaces:
BotService
- Direct Known Subclasses:
BpmnStartProcessInstanceBot
,CmmnStartCaseInstanceBot
An abstract bot implementation to start a process or case instance and supporting some functions around it.
- Author:
- Micha Kiener
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractStartWorkInstanceBot
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected BotActionResult
createActionResult
(String newInstanceId) protected BotActionResult
createActionResult
(String newInstanceId, Intent intent) createTransientVariables
(HistoricActionInstance actionInstance, ActionDefinition actionDefinition) protected String
getAndRemoveOutcomeFromPayload
(Map<String, Object> payload) protected String
getWorkDefinitionKey
(ActionDefinition actionDefinition) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.action.api.bot.BotService
getDescription, getKey, getName, invokeBot, invokeBot
-
Field Details
-
ACTION_INSTANCE_ID_VAR_NAME
- See Also:
-
ACTION_DEFINITION_ID_VAR_NAME
- See Also:
-
ACTION_SCOPE_ID_VAR_NAME
- See Also:
-
ACTION_SCOPE_TYPE_VAR_NAME
- See Also:
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
AbstractStartWorkInstanceBot
protected AbstractStartWorkInstanceBot(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getWorkDefinitionKey
-
getAndRemoveOutcomeFromPayload
-
createTransientVariables
protected Map<String,Object> createTransientVariables(HistoricActionInstance actionInstance, ActionDefinition actionDefinition) -
createActionResult
-
createActionResult
-