Skip to main content

How to enable Flow Instance tracking in D&C 21.04 ?

Maxime avatar
Written by Maxime
Updated over 3 weeks ago

Question

How can I enable Flow Instance tracking in Design & Compose 21.04 ?

Answer

These are the steps you need to perform :

  1. Start the D&C Server

  2. Use the Administrator and connect to the D&C server

  3. Open the User Configuration and add a tracking session in the Service Aliases tab

  4. Open the D&C Designer and use the Document Flow sample "Document Flow Instances Report"

      1. This sample contains concept-definition-instance.tcd, open it

      2. Export the DDL for this Concept Definition

      3. Select "Creation data definition script"

      4. Select the type of database you will use (in this example we will use PostgreSQL)

      5. Result will be create-1.0.0.sql

  5. Stop the D&C Designer and Server

  6. Add the following to the configuration.xml file located in <home dir>\design-compose-21.04\configuration
    ​

      1. <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>
      2. The property value needs to be the same as the session name you specified on the 2nd step.

  7. Create a database with the name you specified in the Tracking session connection details of the 2nd step.

      1. run the create-1.0.0.sql from step 4.5 to create all necessary steps

  8. Start the D&C Server.

When you now run document flows, instance information will be tracked in the database you created.

Did this answer your question?