Icon
For a walk-through the steps of the workflow and its configuration, we refer to Propose New Governance Asset Walk-Through

Diagram

Step 1: Create a new Activiti project and/or Activiti diagram

The creation of a new Activiti project/diagram is explained in the section on Setting Up Your Workflow Design Workbench

Step 2: Change the Identifier, Name and Description of the Process

We refer to the section Designing Your First Workflow From Scratch, subsection "Change the Identifier, Name and Description of the Process" for an explanation on how  to change the identifier, name and description. For this case, name the workflow (e.g., the default would be "Propose New Governance Asset") and give it an identifier (e.g., the default name would be "intakeGovernanceAsset"). 

Step 3: Create a Pool and Lanes

We refer to the section Designing Your First Workflow From Scratch, subsection "Defining a Pool and Lanes" for an explanation on how  to change the identifier, name and description.

Pool >  Properties Tab > Process 

PropertyValueDescription
idintakeGovernanceAssetThe Id of the workflow definition. This must be unique in Collibra
NamePropose New Governance AssetThe default workflow label (description) in Collibra.
Namespacehttp://www.activiti.org/test 
Documentation

This process can be used to propose new governance assets. The term will be created using the entered characteristics and placed in the "Data Governance Council" community.

This information is shown to the user when hovering over a workflow start button.

Step 4: Create a Start and End Event

Set the properties for the Start Event:

Start Event > Properties Tab > Form

Configuration Variables:

Id
Name
Type
Default
Required
Readable
Writeable
Form ValuesDescription
intakeVocabularyEnter the id of the vocabulary to take in the created termstring00000000-0000-0000-0000-0000006017true true  
signifierNamestring truetruetrue Text box to enter the name of the asset
conceptTypeTypeterm truetruetrueproposedFixed:true;proposedValues:00000000-0000-0000-0000-000000031204, 00000000-0000-0000-0000-000000031205, 00000000-0000-0000-0000-000000031202Text box to enter the asset type
definitionProposed Definitiontextarea falsetruetrue Text area to enter the proposed definition
exampleExampletextarea     Text area for an example
usesrelationRelated Assetsterm falsetruetruemultiValue:true;conceptType:00000000-0000-0000-0000-000000031000text box to enter related assets
noteReason for proposaltextarea falsetruetrue Text area for a note
submitProposebuttonfalsefalsetruetrue the submit button

Step 5: Create Term

Set the properties:

Service Task > Properties Tab > Main config

PropertyValueDescription
TypeJava ClassSetting for delegate
Service Classcom.collibra.dgc.core.workflow.activiti.delegate.TermIntakeDelegate

JavaDelegate for taking in new terms in our application

Fields:

Field nameString valueExpressionDescription
signifier ${signifier}the signifier of the term to create.
conceptType ${conceptType}the id of the ConceptType.
vocabulary ${intakeVocabulary}the id of the Vocabulary.
definition ${definition}the contents of the definition attribute to be created
description ${description}the contents of the description attribute to be created
example ${example}the contents of the note attribute to be created
usesrelation ${usesrelation}the contents of the example attribute to be created 
note ${note}the id of the target term that will be related using the 'uses' relation
Icon

Information about the TermIntake delegate can be found here: <yourCollibraDomain>/docs/index.html > core > Package: com.collibra.dgc.core.workflow.activiti.delgate > Class: TermIntake