Annotation Type ExternalTaskSubscription
- 
 @Documented @Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface ExternalTaskSubscription Annotation to subscribe the External Task Client to a topic.Heads-up: - for attributes of type String, the string $null$ is reserved and used as default value
- for attributes of type Long, the valueLong.MIN_VALUEis reserved and used as default value
 
- for attributes of type 
- 
- 
Field SummaryFields Modifier and Type Fields Description static longLONG_NULL_VALUEstatic StringSTRING_NULL_VALUE
 - 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description booleanautoOpenStringbusinessKeybooleanincludeExtensionPropertiesbooleanlocalVariableslonglockDurationStringprocessDefinitionIdString[]processDefinitionIdInStringprocessDefinitionKeyString[]processDefinitionKeyInStringprocessDefinitionVersionTagExternalTaskSubscription.ProcessVariable[]processVariablesString[]tenantIdInStringtopicNameAlias forvalue().StringvalueAlias fortopicName().String[]variableNamesbooleanwithoutTenantId
 
- 
- 
- 
Field Detail- 
STRING_NULL_VALUEstatic final String STRING_NULL_VALUE 
 
- 
 - 
Element Detail- 
autoOpenboolean autoOpen - Returns:
- autoOpen - true: the client immediately starts to fetch for External Tasks
- false: topic subscription can be opened after application start by calling- SpringTopicSubscription.open()
 
 - Default:
- true
 
 
- 
 - 
- 
value@AliasFor("topicName") String valueAlias fortopicName().- Returns:
- topicName of the Service Task in the BPMN process model the client subscribes to
 - Default:
- "$null$"
 
 
- 
 - 
- 
variableNamesString[] variableNames - Returns:
- variableNames of variables which are supposed to be retrieved. All variables are retrieved by default.
 - Default:
- {"$null$"}
 
 
- 
 - 
- 
localVariablesboolean localVariables - Returns:
- localVariables
 whether or not variables from greater scope than the external task
 should be fetched. falsemeans all variables visible in the scope of the external task will be fetched,truemeans only local variables (to the scope of the external task) will be fetched
 - Default:
- false
 
 
- 
 - 
- 
businessKeyString businessKey - Returns:
- businessKey to filter for external tasks that are supposed to be fetched and locked
 - Default:
- "$null$"
 
 
- 
 - 
- 
processDefinitionIdString processDefinitionId - Returns:
- processDefinitionId to filter for external tasks that are supposed to be fetched and locked
 - Default:
- "$null$"
 
 
- 
 - 
- 
processDefinitionIdInString[] processDefinitionIdIn - Returns:
- processDefinitionIds to filter for external tasks that are supposed to be fetched and locked
 - Default:
- {"$null$"}
 
 
- 
 - 
- 
processDefinitionKeyString processDefinitionKey - Returns:
- processDefinitionKey to filter for external tasks that are supposed to be fetched and locked
 - Default:
- "$null$"
 
 
- 
 - 
- 
processDefinitionKeyInString[] processDefinitionKeyIn - Returns:
- processDefinitionKeyIn to filter for external tasks that are supposed to be fetched and locked
 - Default:
- {"$null$"}
 
 
- 
 - 
- 
processDefinitionVersionTagString processDefinitionVersionTag - Returns:
- processDefinitionVersionTag to filter for external tasks that are supposed to be fetched and locked
 - Default:
- "$null$"
 
 
- 
 - 
- 
processVariablesExternalTaskSubscription.ProcessVariable[] processVariables - Returns:
- processVariables of which the external tasks to be retrieved are related to. Each
 value is instance of ExternalTaskSubscription.ProcessVariable
 - Default:
- {@org.camunda.bpm.client.spring.annotation.ExternalTaskSubscription.ProcessVariable(name="$null$", value="$null$")}
 
 
- 
 - 
- 
tenantIdInString[] tenantIdIn - Returns:
- tenantIds to filter for external tasks that are supposed to be fetched and locked
 - Default:
- {"$null$"}
 
 
- 
 - 
- 
includeExtensionPropertiesboolean includeExtensionProperties - Returns:
- includeExtensionProperties
 whether or not to include custom extension properties for fetched
 external tasks. truemeans all extensionProperties defined in the external task activity will be provided.falsemeans custom extension properties are not available within the external-task-client. The default isfalse.
 - Default:
- false
 
 
- 
 
-