Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

To configure the adapter the following properties must be set in the application.properties file of your Spring Boot adapter application:

Scheduled methods:

Time intervals for the different scheduled methods in milliseconds which are performed by the adapter.

Example for a pull every 10 seconds:

taskana.adapter.scheduler.run.interval.for.start.taskana.tasks.in.milliseconds=10000

All available properties:

taskana.adapter.scheduler.run.interval.for.start.taskana.tasks.in.milliseconds=
taskana.adapter.scheduler.run.interval.for.complete.referenced.tasks.in.milliseconds=
taskana.adapter.scheduler.run.interval.for.claim.referenced.tasks.in.milliseconds=
taskana.adapter.scheduler.run.interval.for.cancel.claim.referenced.tasks.in.milliseconds=
taskana.adapter.scheduler.run.interval.for.check.finished.referenced.tasks.in.milliseconds=

To use JaasSubject for scheduled methods, add this property :

taskana.adapter.run-as.user

example: taskana.adapter.run-as.user=peter

The provided userId has to have the needed taskadmin-role, which can be configured in the taskana.properties

Claim configuration

You can enable or disable claiming/cancel claiming of Camunda Tasks after a TASKANA task was claimed/cancel claimed with the following boolean property:

taskana.adapter.camunda.claiming.enabled

TASKANA datasource and schema

The adapter connects to TASKANA via JDBC, therefore you need to provide a datasource and schema in the application properties:

taskana.datasource.jdbcUrl = 
taskana.datasource.driverClassName = 
taskana.datasource.username = 
taskana.datasource.password = 
taskana.schemaName=

Object Reference defaults

A TASKANA task can’t be created without a primary object reference object. Since a referenced task doesn’t directly carry information about the POR, some defaults have to be provided and are configurable with the following properties:

taskana.adapter.mapping.default.objectreference.company=
taskana.adapter.mapping.default.objectreference.system=
taskana.adapter.mapping.default.objectreference.system.instance=
taskana.adapter.mapping.default.objectreference.type=
taskana.adapter.mapping.default.objectreference.value=

  • No labels