Data Model

The page documents the TO-BE data model. The model of the current release does not necessarily match this one as long as the first major release is under development.

Overview


Description of the tables and fields

Common

TASKANA_SCHEMA_VERSION

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDCHAR(40)Unique ID
VERSIONVARCHAR(255)The version of the TASKANA schema0.0.1

CONFIGURATION

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
ENFORCE_SECURITYBOOLEANFlag to determine if security is enforced for TASKANAtrue

TaskService

TASK

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDCHAR(40)Unique ID
EXTERNAL_IDVARCHAR(Id to correlate the task to a task in an external system.
CREATEDTIMESTAMPThe creation timestamp of the task in the system."2017-12-01 13:39:20"
CLAIMEDTIMESTAMPThe timestamp of the last claim-operation on the task
COMPLETEDTIMESTAMPThe timestamp of the completion of the task
MODIFIEDTIMESTAMPTimestamp of the last modification of the task
PLANNEDTIMESTAMPPlanned start of the task.
The actual completion of the task should be between PLANNED and DUE.

DUETIMESTAMPTimestamp when the task is due.
The actual completion of the task should be between PLANNED and DUE.

NAMEVARCHAR(255)The name of the task"Inspect application"
CREATORVARCHAR(32)

DESCRIPTIONVARCHAR(1024)The description of the task
NOTEVARCHAR(4096)

PRIORITYINTThe priority of the task
STATEVARCHAR(20)The state of the task. See (...)
CLASSIFICATION_CATEGORYVARCHAR(32)The category of the classification of the task
CLASSIFICATION_KEYVARCHAR(32)The classified type of the task. Reference the classifications in the ClassificationService."Approval"
CLASSIFICATION_IDVARCHAR(40)The id of the classification of the task
WORKBASKET_IDVARCHAR(40)The id of the workbasket the task is attached to
WORKBASKET_KEYVARCHAR(32)The workbasket key of the workbasket, the tasks resides in."CLAIM_INBOUND"
DOMAINVARCHAR(32)The current domain of the task (derived from the workbasket)"DOMAIN_A"
BUSINESS_PROCESS_IDVARCHAR(128)The id of the business process the task belongs to
PARENT_BUSINESS_PROCESS_IDVARCHAR(128)The id of the parent business process the task belongs to
OWNERVARCHAR(32)The owner of the tasks. The owner is set upon claiming of the task.
POR_COMPANYVARCHAR(32)The company referenced primary object belongs to."ABC"
POR_SYSTEMVARCHAR(32)The (kind of) system, the object resides in (e.g. SAP, MySystem A, ...) "ERP"
POR_INSTANCEVARCHAR(32)The instance of the system, the object resides in."33"
POR_TYPEVARCHAR(32)The type of the reference (contract, claim, policy, customer, ...)"VNR"
POR_VALUEVARCHAR(128)The value of the primary object reference"1234567"
IS_READBOOLEANIndicator if the task has been read
IS_TRANSFERREDBOOLEANIndicator if the task has been transferred
CALLBACK_INFOCLOBCallback information for usage with an adapter
CALLBACK_STATEVARCHAR(30)Signals an adapter if a callback to an external system is necessary
CUSTOM_ATTRIBUTESCLOBA container for all additional information on the task in JSON representation
CUSTOM_1VARCHAR(255)A custom property with name "1"
CUSTOM_2VARCHAR(255)A custom property with name "2"
CUSTOM_3VARCHAR(255)A custom property with name "3"
CUSTOM_4VARCHAR(255)A custom property with name "4"
CUSTOM_5VARCHAR(255)A custom property with name "5"
CUSTOM_6VARCHAR(255)A custom property with name "6"
CUSTOM_7VARCHAR(255)A custom property with name "7"
CUSTOM_8VARCHAR(255)A custom property with name "8"
CUSTOM_9VARCHAR(255)A custom property with name "9"
CUSTOM_10VARCHAR(255)A custom property with name "10"
CUSTOM_11VARCHAR(255)A custom property with name "11"
CUSTOM_12VARCHAR(255)A custom property with name "12"
CUSTOM_13VARCHAR(255)A custom property with name "13"
CUSTOM_14VARCHAR(255)A custom property with name "14"
CUSTOM_15VARCHAR(255)A custom property with name "15"
CUSTOM_16VARCHAR(255)A custom property with name "16"

OBJECT_REFERENCE

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDCHAR(40)Unique ID
COMPANYVARCHAR(32)The name of the company the referenced business object belongs to"ABC"
SYSTEMVARCHAR(32)The name of the system containing the object"XYZ_CLAIM_SYSTEM"
SYSTEM_INSTANCEVARCHAR(32)The instance of the system (to distinguish between multiple installations of the same system"33"
TYPEVARCHAR(32)The type of the referenced business object"CLAIM"
VALUEVARCHAR(128)The id of the referenced business object"1234567"

ATTACHMENT

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDCHAR(40)Unique ID
TASK_IDCHAR(40)The task the attachment belongs to
CREATEDTIMESTAMP

MODIFIEDTIMESTAMP

CLASSIFICATION_KEYVARCHAR(32)The classification of the attachment (if applicable)
CLASSIFICATION_IDVARCHAR(40)The classification id of the attachment
REF_COMPANYVARCHAR(32)The company referenced object belongs to.
REF_SYSTEMVARCHAR(32)The (kind of) system, the object resides in (e.g. DMS, Archive, ...) 
REF_INSTANCEVARCHAR(32)The instance of the system, the object resides in.
REF_TYPEVARCHAR(32)The type of the reference (Archived Document, ...)
REF_VALUEVARCHAR(128)The value of the primary object reference
CHANNELVARCHAR(64)The channel through which the attachment has been received
RECEIVEDTIMESTAMPThe timestamp on which the attachment has been received. This must not match the creation timestamp if for example a physical document is received on Friday but entered in the system on Monday.
CUSTOM_ATTRIBUTESCLOBA container for all additional information on the attachment in JSON representation

TaskCommentService

TASK_COMMENT

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDVARCHAR(40)Unique ID"TCI:000000000000000000000000000000000000"
TASK_IDVARCHAR(40)The task the task comment belongs to"TKI:000000000000000000000000000000000000"
TEXT_FIELDVARCHAR(1024)The actual comment"This task is nice"
CREATORVARCHAR(32)The creator of the task comment"John Doe"
CREATEDTIMESTAMPThe creation timestamp of the task comment in the system."2020-12-01 13:39:20"
MODIFIEDTIMESTAMPTimestamp of the last modification of the task comment"2020-15-01 15:24:20"


WorkbasketService

WORKBASKET

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDCHAR(40)Unique ID
KEYVARCHAR(64)They key of the workbasket
CREATEDTIMESTAMPThe creation timestamp of the workbasket in the system."2017-12-01 13:39:20"
MODIFIEDTIMESTAMPTimestamp of the last modification of the workbasket
NAMEVARCHAR(255)The name of the workbasket
DOMAINVARCHAR(32)The domain in which the workbasket is visible
TYPEVARCHAR(16)The type of the workbasket
DESCRIPTIONVARCHAR(255)The description of the workbasket
OWNERVARCHAR(32)The owner of the workbasket. The owner is responsible for the on-time completion of all tasks in the workbasket.
ORG_LEVEL_1VARCHAR(255)The first Org Level (the top one)
The Org Level is an association with an org hierarchie level in the organization. The values are used for monitoring and statistical purposes and should reflect the responsibility of the tasks in the workbasket.

ORG_LEVEL_2VARCHAR(255)The second Org Level
ORG_LEVEL_3VARCHAR(255)The third Org Level
ORG_LEVEL_4VARCHAR(255)The fourth Org Level (the lowest one).
CUSTOM_1VARCHAR(255)A custom property with name "1"
CUSTOM_2VARCHAR(255)A custom property with name "2"
CUSTOM_3VARCHAR(255)A custom property with name "3"
CUSTOM_4VARCHAR(255)A custom property with name "4"
CUSTOM_5VARCHAR(255)A custom property with name "5"
CUSTOM_6VARCHAR(255)A custom property with name "6"
CUSTOM_7VARCHAR(255)A custom property with name "7"
CUSTOM_8VARCHAR(255)A custom property with name "8"
MARKED_FOR_DELETIONBOOLEANIndicator if the workbasket is marked for deletion

WORKBASKET_ACCESS_LIST

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDCHAR(40)Unique ID
WORKBASKET_IDCHAR(40)The workbasket
ACCESS_IDVARCHAR(255)The access id, this ACL entry refers to. This could be either a userid or a full qualified group id (both lower case)
ACCESS_NAMEVARCHAR(255)the name of the group or user for which the WorkbasketAccessItem controls access permissions
PERM_READBOOLEANThe permission to read the information about the workbasket
PERM_OPENBOOLEANThe permission to view the content (the tasks) of a workbasket
PERM_APPENDBOOLEANThe permission to add tasks to the workbasket (required for creation and tranferring of tasks)
PERM_TRANSFERBOOLEANThe permission to transfer tasks (out of the current workbasket)
PERM_DISTRIBUTEBOOLEANThe permission to distribute tasks from the workbasket
PERM_CUSTOM_1BOOLEANThe permission for a custom property with name "1"
PERM_CUSTOM_2BOOLEANThe permission for a custom property with name "2"
PERM_CUSTOM_3BOOLEANThe permission for a custom property with name "3"
PERM_CUSTOM_4BOOLEANThe permission for a custom property with name "4"
PERM_CUSTOM_5BOOLEANThe permission for a custom property with name "5"
PERM_CUSTOM_6BOOLEANThe permission for a custom property with name "6"
PERM_CUSTOM_7BOOLEANThe permission for a custom property with name "7"
PERM_CUSTOM_8BOOLEANThe permission for a custom property with name "8"
PERM_CUSTOM_9BOOLEANThe permission for a custom property with name "9"
PERM_CUSTOM_10BOOLEANThe permission for a custom property with name "10"
PERM_CUSTOM_11BOOLEANThe permission for a custom property with name "11"
PERM_CUSTOM_12BOOLEANThe permission for a custom property with name "12"

DISTRIBUTION_TARGETS

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
SOURCE_IDCHAR(40)The workbasket ID of the workbasket which serves as source for the distribution
TARGET_IDCHAR(40)The workbasket ID of the workbasket which serves as target for the distribution

ClassificationService

CLASSIFICATION

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDCHAR(40)Unique IDCLI:000000000000000000000000000000000001
KEYVARCHAR(32)The key of the classification. This is typically an externally known code or abbreviation of the classificationSD110
PARENT_IDVARCHAR(40)The id of the parent classification. Empty string ("") if this is a root classification.CLI:000000000000000000000000000000000001
PARENT_KEYVARCHAR(32)The key of the parent classification. Empty string ("") if this is a root classification.SD110
CATEGORYVARCHAR(32)The category of the classification (MANUAL, EXTERNAL, AUTOMATIC, PROCESS)MANUAL
TYPEVARCHAR(32)The type of classification (TASK, DOCUMENT)DOCUMENT
DOMAINVARCHAR(255)The domain for which this classification is specified.
VALID_IN_DOMAINBOOLEANTrue, if this classification to objects in this domain.
CREATEDTIMESTAMPThe creation timestamp of the classification in the system."2017-12-01 13:39:20"
MODIFIEDTIMESTAMPTimestamp of the last modification of the classification
NAMEVARCHAR(255)The name of the classification
DESCRIPTIONVARCHAR(255)The description of the classification
PRIORITYINTThe priority of the classification5
SERVICE_LEVELVARCHAR(32)The service level of the classification. This is stated according to ISO 8601P5D
APPLICATION_ENTRY_POINTVARCHAR(255)The logical name of the entry point, the task list application should redirect to work on a task of this classification.portal::customerDetails
CUSTOM_1VARCHAR(255)A custom property with name "1"
CUSTOM_2VARCHAR(255)A custom property with name "2"
CUSTOM_3VARCHAR(255)A custom property with name "3"
CUSTOM_4VARCHAR(255)A custom property with name "4"
CUSTOM_5VARCHAR(255)A custom property with name "5"
CUSTOM_6VARCHAR(255)A custom property with name "6"
CUSTOM_7VARCHAR(255)A custom property with name "7"
CUSTOM_8VARCHAR(255)A custom property with name "8"

JobService

SCHEDULED_JOB

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
JOB_IDINT(4)Unique ID
PRIORITYINT(4)The priority of the job
CREATEDTIMESTAMPThe creation timestamp of the job in the system."2017-12-01 13:39:20"
DUETIMESTAMPTimestamp when the job is due.
STATEVARCHAR(32)The state of the job"READY"
LOCKED_BYVARCHAR(32)The name of the current thread that is working on the job
LOCK_EXPIRESTIMESTAMPTimestamp when the lock on the job will expire
TYPEVARCHAR(32)The type of the job"TASKCLEANUPJOB"
RETRY_COUNTINT(4)Amount of retries in case when something goes wrong"3"
ARGUMENTSTEXT

HistoryService

TASK_HISTORY_EVENTS

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDVARCHAR(40)Unique ID12345
BUSINESS_PROCESS_IDVARCHAR(128)

PARENT_BUSINESS_PROCESS_IDVARCHAR(128)

TASK_IDCHAR(40)

EVENT_TYPEVARCHAR(32)The type of the event."CREATED"
CREATEDTIMESTAMPThe timestamp of the event."2017-12-01 13:39:20"
USER_IDVARCHAR(32)The userid of the user who triggered this event."user_1_1"
DOMAINVARCHAR(32)The domain for which this classification is specified.
WORKBASKET_KEYVARCHAR(64)The workbasket key of the workbasket, the tasks resides in. 
POR_COMPANYVARCHAR(32)The company referenced primary object belongs to."ABC"
POR_SYSTEMVARCHAR(32)The (kind of) system, the object resides in (e.g. SAP, MySystem A, ...) "ERP"
POR_INSTANCEVARCHAR(32)The instance of the system, the object resides in."33"
POR_TYPEVARCHAR(32)The type of the reference (contract, claim, policy, customer, ...)"VNR"
POR_VALUEVARCHAR(128)The value of the primary object reference"1234567"
TASK_CLASSIFICATION_KEYVARCHAR(32)True, if this classification to objects in this domain.
TASK_CLASSIFICATION_CATEGORYVARCHAR(32)The category of the task classification EXTERNAL
ATTACHMENT_CLASSIFICATION_KEYVARCHAR(32)The creation timestamp of the workbasket in the system.
OLD_VALUEVARCHAR(255)The old value before the event occured.
NEW_VALUEVARCHAR(255)The new (changed) value after the event occured.
CUSTOM_1VARCHAR(128)A custom property with name "1", for individual usage"123"
CUSTOM_2VARCHAR(128)A custom property with name "2", for individual usage"xyz"
CUSTOM_3VARCHAR(128)A custom property with name "3", for individual usage
CUSTOM_4VARCHAR(128)A custom property with name "4", for individual usage
DETAILSCLOBThe details of the changes within the event's task that occured


CLASSIFICATION_HISTORY_EVENTS

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDVARCHAR(40)Unique ID12345
EVENT_TYPEVARCHAR(32)The type of the event"UPDATED"
CREATEDTIMESTAMPThe timestamp of the event."2017-12-01 13:39:20"
USER_IDVARCHAR(32)The userid of the user who triggered this event.
CLASSIFICATION_IDVARCHAR(32)The id of the event's classification.
APPLICATION_ENTRY_POINTVARCHAR(64)The logical name of the entry point, the task list application should redirect to work on a task of this event's classification.
CATEGORYVARCHAR(32)The category of the event's classification"MANUAL"
DOMAINVARCHAR(32)The domain for which this event's classification is specified.
KEYVARCHAR(32)The key of the event's classification. This is typically an externally known code or abbreviation of the classification
NAMEVARCHAR(32)The name of the events classification
PARENT_IDVARCHAR(128)The id of the event's parent classification.
PARENT_KEYVARCHAR(32)The key of the event's parent classification.
PRIORITYVARCHAR(32)The priority of the event's classification
SERVICE_LEVELVARCHAR(32)The service level of the event's classification.
TYPEVARCHAR(255)The type of the event's classification"TASK"
CUSTOM_1VARCHAR(255)A custom property with name "1", for individual usage"123"
CUSTOM_2VARCHAR(255)A custom property with name "2", for individual usage"xyz"
CUSTOM_3VARCHAR(255)A custom property with name "3", for individual usage
CUSTOM_4VARCHAR(255)A custom property with name "4", for individual usage
CUSTOM_5VARCHAR(255)A custom property with name "5", for individual usage
CUSTOM_6VARCHAR(255)A custom property with name "6", for individual usage
CUSTOM_7VARCHAR(255)A custom property with name "7", for individual usage
CUSTOM_8VARCHAR(255)A custom property with name "8", for individual usage
DETAILSCLOBThe details of the changes within the event's classification that occured

WORKBASKET_HISTORY_EVENTS

COLUMNTYPEDESCRIPTIONEXAMPLE VALUE
IDVARCHAR(40)Unique ID12345
WORKBASKET_IDVARCHAR(128)The id of the event's workbasket
EVENT_TYPEVARCHAR(32)The type of the event"DELETED"
CREATEDTIMESTAMPThe timestamp of the event."2017-12-01 13:39:20"
USER_IDVARCHAR(32)The userid of the user who triggered this event.
DOMAINVARCHAR(32)The domain for which this workbasket is specified.
KEYVARCHAR(64)The key of the event's workbasket
TYPEVARCHAR(32)The type of the event's workbasket
OWNERVARCHAR(32)The owner of the event's workbasket.
CUSTOM_1VARCHAR(255)A custom property with name "1", for individual usage
CUSTOM_2VARCHAR(255)A custom property with name "2", for individual usage
CUSTOM_3VARCHAR(255)A custom property with name "3", for individual usage
CUSTOM_4VARCHAR(255)A custom property with name "4", for individual usage
ORGLEVEL_1VARCHAR(255)The event's workbasket first (top) orgLevel
ORGLEVEL_2VARCHAR(255)The event's workbasket second orgLevel
ORGLEVEL_3VARCHAR(255)The event's workbasket third orgLevel
ORGLEVEL_4VARCHAR(255)The event's workbasket fourth (top) orgLevel
DETAILSCLOBThe details of the changes within the event's workbasket that occured