Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt

Use this file to discover all available pages before exploring further.

Atoti Sign-Off is delivered with a default data model for all the data required to support the approvals workflow. These components share the same foundations but each use different datastore configurations and a separate cube.

Atoti Sign-Off components

The Module comprises several component databases. The following table lists these databases and provides links to their associated schemas, and datastore definitions, where applicable.
ComponentDescriptionDatabase definitionCube schema
ApplicationThe Application database comprises the sign-off process definition and instance objects. This database may be shared with the application.Sign-Off ProcessDefinition CubeA flexible set of attributes and dimensions (hierarchies, dimensions, levels of the cube structure) is supplied for each of the Sign-off cubes. See Sign-off dimensions
Sign-off Process Instance Cube
Audit LogThe Audit-Log contains a record of all user actions within the Activiti workflows. The Audit-Log database comprises two tables * USERRECORD * PROCESSRECORDSee Audit-Log.
ActivitiThe Activiti workflow state is maintained in the Activiti database. This includes copies of objects that are waiting for approval before being saved to the Application database. This database is managed by the Activiti process engine. See the Activiti documentation for more information about this database schema. https://www.activiti.org/documentation
For details, see the Atoti Sign-Off Developer Guide.

Database definitions

Application database

Table name: ADJUSTMENTDEFINITION

A record of an adjustment definition.
ColumnTypeDescription
IDBIGINTThe database ID for the object version
LIVEFROMTIMESTAMPThe beginning of live range for the object version
LIVETOTIMESTAMPThe end of live range for object version (null if range has no end)
VALIDFROMDATEBeginning date (inclusive) for which this definition object applies.
VALIDTODATEEnding date (exclusive) for which this definition object applies (may be null)
COMMENTVARCHARThe comment associated to the definition of the adjustment
DEFINITIONIDVARCHARThe definition ID
FILTERSVARCHARThe filters defined for the adjustment
INPUTVARCHARThe input defined for the adjustment
MEASURESVARCHARThe measures defined for the adjustment
PROCESSINSTANCEIDVARCHARThe process instance ID linked to the adjustment
REASONVARCHARThe reason defined for the adjustment
SERVERNAMEVARCHARThe name of the application server to which the process instance is related. Used to generate the URLs for calls to RESTful services in the application server
STATUSVARCHARThe status of the adjustment execution
TASKVARCHARThe task name associated to the adjustment
TYPEVARCHARThe type of adjustment
USERVARCHARThe ID of the user who created the adjustment

Table name: ADJUSTMENTEXECUTION

A record of an adjustment execution.
ColumnTypeDescription
IDBIGINTThe database ID for the object version
LIVEFROMTIMESTAMPThe beginning of live range for the object version
LIVETOTIMESTAMPThe end of live range for object version (null if range has no end)
ASOFDATEDATEThe as-of date for the adjustment execution
COMMENTVARCHARThe comment associated to the definition of the adjustment
DEFINITIONIDVARCHARThe definition ID
EXECUTIONIDVARCHARThe execution ID
FILTERSVARCHARThe filters defined for the adjustment
INPUTVARCHARThe input defined for the adjustment
MEASURESVARCHARThe measures defined for the adjustment
PROCESSINSTANCEIDVARCHARThe process instance ID linked to the adjustment
REASONVARCHARThe reason defined for the adjustment
SERVERNAMEVARCHARThe name of the application server to which the process instance is related. Used to generate the URLs for calls to RESTful services in the application server
STATUSVARCHARThe status of the adjustment execution
TASKVARCHARThe task name associated to the adjustment
TYPEVARCHARThe type of adjustment
USERVARCHARThe ID of the user who created the adjustment

Table name: PROCESSDEFINITION

A record of a process definition.
ColumnTypeDescription
IDBIGINTThe database ID for the object version.
LIVEFROMTIMESTAMPThe beginning of live range for the object version.
LIVETOTIMESTAMPThe end of live range for object version (null if range has no end).
VALIDFROMDATEBeginning date (inclusive) for which this definition object applies.
VALIDTODATEEnding date (exclusive) for which this definition object applies (may be null).
CATEGORYVARCHARThe category of the sign-off process
DESCRIPTIONVARCHARA Free-form description of the sign-off process definition.
DOMAINVARCHARThe cube name associated to the sign-off process definition
FILTERSVARCHARThe list of filters that specify the data being signed-off.
KPISVARCHARThe KPIs defined in the sign-off process definition
MEASURESVARCHARThe measures defined in the sign-off process definition
NAMEVARCHARThe name of the sign-off process definition
SERVERNAMEVARCHARThe name of the application server to which the process definition is related. Used to generate the URLs for calls to RESTful services in the application server.
WORKFLOWPROPERTIESVARCHARThe list of configuration properties that can be used in the workflow process. These are available as variables to the process definition. Each property has the format name:value.
WORKFLOWTYPEVARCHARThe alias for the Activiti workflow process definition that is used to manage the sign-off process.

Table name: PROCESSINSTANCE

A record of a process instance.
ColumnTypeDescription
IDBIGINTThe database ID for the object version.
LIVEFROMTIMESTAMPThe beginning of live range for the object version.
LIVETOTIMESTAMPThe end of live range for object version (null if range has no end).
ASOFDATEDATEThe as-of date for the sign-off process instance.
COMMENTVARCHARThe comment entered by the user
NAMEVARCHARThe name of the process instance
EXPORTSTATUSDETAILSVARCHARThe details of the export status, sent by the application server
SERVERNAMEVARCHARThe name of the application server to which the process definition is related. Used to generate the URLs for calls to RESTful services in the application server.
STATUSVARCHARThe status of the process instance

Audit-Log

Common fields

These fields are used for each type of audit-log entry
ColumnTypeDescription
IDlongDatabase ID for audit log entry
TIMESTAMPtimestampThe timestamp of when the action took place
KEYtimestampThe key of the object being managed by the Activiti workflow process: * For sign-off process instance: name::as-of-date * For sign-off process definition:name::valid-from
STATUSdateThe new status of the object within the workflow
TYPEdateThe fully qualified java classname of the object
USERstringThe user who performed the action
PROCESSINSTANCEIDstringThe Activiti process instance ID
OBJECTstringThe JSON serialisation of the object
COMMENTstringAn optional comment the user supplied alongside the action.

Table name: USERRECORD

A record of a user completing a task within the Activiti workflow. In addition to the columns listed in the common fields above:
ColumnTypeDescription
TASKIDstringThe Activiti task ID (within the Activiti process instance)
TASKNAMEstringThe name of the task (within the Activiti process definition)
ACTIONstringThe action taken by the user (e.g. “Approve”, “Reject”)

Table name: PROCESSRECORD

A record of a user starting an Activiti workflow process instance. In addition to the columns listed in the common fields above:
ColumnTypeDescription
PROCESSDEFINITIONNAMEstringThe Activiti process definition name

Table name: ADJUSTMENTDEFINITIONENTITY

Contains the audit information for adjustment definitions. In addition to the columns listed in the common fields above:
ColumnTypeDescription
KEYVARCHARKey of the record
TIMESTAMPTIMESTAMPTimestamp at which the record was created
COMMENTVARCHARComment associated to the adjustment request
OBJECTCLOBJSON representation of the audited object
PROCESSINSTANCEIDVARCHARThe process instance id to which the audit record is associated (set to “N/A” in this version of Atoti Sign-Off)
STATUSVARCHARThe status of the audited entry
TYPEVARCHARThe String representing the Java class of the audit entry. For this table, the type is: “com.activeviam.signoff.core.model.adjustment.definition.dto.AuditableAdjustmentRequestDTO”
USERVARCHARThe user performing the audited action
DEFINITIONIDVARCHARThe definition ID of the associated adjustment definition
TASKVARCHARThe name of the associated sign-off process

Table name: ADJUSTMENTREQUESTENTITY

Contains the audit information for adjustment requests. In addition to the columns listed in the common fields above:
ColumnTypeDescription
KEYVARCHARKey of the record
TIMESTAMPTIMESTAMPTimestamp at which the record was created
COMMENTVARCHARComment associated to the adjustment request
OBJECTCLOBJSON representation of the audited object
PROCESSINSTANCEIDVARCHARThe process instance id to which the audit record is associated (set to “N/A” in this version of Atoti Sign-Off)
STATUSVARCHARThe status of the audited entry
TYPEVARCHARThe String representing the Java class of the audit entry. For this table, the type is: “com.activeviam.signoff.core.model.adjustment.definition.dto.AuditableAdjustmentRequestDTO”
USERVARCHARThe user performing the audited action
DEFINITIONIDVARCHARThe definition ID of the associated adjustment definition
EXECUTIONIDVARCHARThe execution ID of the adjustment request. This ID is generated on the application server side.
TASKVARCHARThe name of the associated sign-off process definition
TASKIDVARCHARThe ID of the associated sign-off process instance

Activiti

See the Activiti documentation for more information about this database schema. https://www.activiti.org/documentation