Question
How can I enable Flow Instance tracking in Design & Compose 21.04 ?
Answer
These are the steps you need to perform :
Start the D&C Server
Use the Administrator and connect to the D&C server
Open the User Configuration and add a tracking session in the Service Aliases tab
Open the D&C Designer and use the Document Flow sample "Document Flow Instances Report"
This sample contains concept-definition-instance.tcd, open it
Export the DDL for this Concept Definition
Select "Creation data definition script"
Select the type of database you will use (in this example we will use PostgreSQL)
Result will be create-1.0.0.sql
Stop the D&C Designer and Server
Add the following to the configuration.xml file located in <home dir>\design-compose-21.04\configuration
β<config>
<server>
<documentflow>
<tracking>
<properties type="fragment">
<property0>
<name type="value">com.id.scriptura.tracking.configuration.session.alias</name>
<value type="value">Tracking Session</value>
</property0>
</properties>
</tracking>
</documentflow>
</server>
</config>The property value needs to be the same as the session name you specified on the 2nd step.
Create a database with the name you specified in the Tracking session connection details of the 2nd step.
run the create-1.0.0.sql from step 4.5 to create all necessary steps
Start the D&C Server.
When you now run document flows, instance information will be tracked in the database you created.