Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

UNDER CONSTRUCTIONTo 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:

Code Block
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 The provided userId must has to have the needed taskAdmin-roletaskadmin-role, which can be configured in the taskana.properties

TASKANA datasource and schema

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

Code Block
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:

Code Block
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=