public class ServiceTaskConnectorActivityBehavior extends TaskActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
Modifier and Type | Field and Description |
---|---|
protected String |
connectorId
the id of the connector
|
protected org.camunda.connect.spi.Connector<?> |
connectorInstance
cached connector instance for this activity.
|
protected IoMapping |
ioMapping
the local ioMapping for this connector.
|
activityInstanceId
LOG
bpmnActivityBehavior
Constructor and Description |
---|
ServiceTaskConnectorActivityBehavior(String connectorId,
IoMapping ioMapping) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyInputParameters(ActivityExecution execution,
org.camunda.connect.spi.ConnectorRequest<?> request) |
protected void |
applyOutputParameters(ActivityExecution execution,
org.camunda.connect.spi.ConnectorResponse response) |
protected void |
ensureConnectorInitialized() |
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
performExecution, postExecution, preExecution
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
leave, leaveIgnoreConditions
protected String connectorId
protected org.camunda.connect.spi.Connector<?> connectorInstance
protected IoMapping ioMapping
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class TaskActivityBehavior
Exception
protected void applyInputParameters(ActivityExecution execution, org.camunda.connect.spi.ConnectorRequest<?> request)
protected void applyOutputParameters(ActivityExecution execution, org.camunda.connect.spi.ConnectorResponse response)
protected void ensureConnectorInitialized()
Copyright © 2019. All rights reserved.