Icon
For a walk-through the steps of the workflow and its configuration, go to: Cancel Process 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 "Cancel Process") and give it an identifier (e.g., the default name would be "cancelProcess"). 

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
idcancelProcessThe Id of the workflow definition. This must be unique in Collibra
NameCancel ProcessThe default workflow label (description) in Collibra.
Namespacehttp://www.activiti.org/test 
Documentation

This process will be triggered when a process is cancelled. It will notify the configured roles of the cancellation.

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 > Main Config

Configuration Variables:

Id
Name
Type
Default
Required
Readable
Writeable
rolesToNotifyRoles to notify (Comma separated)stringStewardtruefalsetrue

Step 5: Notify of cancel

 

Set the properties:

Service Task > Properties Tab > Main config

PropertyValueDescription
TypeJava ClassSetting for delegate
Service Classcom.collibra.dgc.core.workflow.activiti.delegate.MailSenderJava Delegate used for sending mails from the workflow.

Fields:

Field nameString valueExpressionDescription
templateworkflow-cancelled the name of the template that should be used to generate the mail.
mailToUsers  ${rolesToNotify}user expressions for users that should receive the action mail. See the EventBean
Icon

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