Overview of Workflow Configuration
Instructions for creating a custom workflow process using the UI editor to create and save a BPMN diagram without manually editing the XML file.
Process Definition
A workflow process consists of process elements
start
/end
events, and
user
/service
tasks, gateways
linked with connectors flows, thus forming an ordered set of events and handling
actions.
To configure a process definition:
- Navigate to the tab.
- Define the following fields:
- Id - For example:
recommendForDelete
Note: The process ID should be unique among multiple processes running in the same Reltio environment. - Name - For example:
recommendForDelete
Start Event
End Event
- Id - For example:
Process Configuration
On the process level, you can configure the following properties:
Property | Type | Description |
---|---|---|
dueDateDelta |
String | Number of days indicating process duration. The property is used by Listener on Create. |
manualStart |
Boolean | Indicates if the process instance can be started manually. |
objectTypes |
String | Comma-separated list of Reltio object types. |
deleted |
Boolean | Indicates if the process definition is deactivated. |
Text Annotations and Associations
To configure a process:
- Navigate to the tab.
- Click the New button.
- In the Data property configuration dialog, define the following fields:
Id
- Example:possibleAssignees
Name
- Example:possibleAssignees
Type
- Example:string
Value
- Example:ROLE_UI_ALL
Task Definition
Task is a process element used in workflow to specify a human activity
User Task Configuration: Listener or a system action Service Task Configuration.
To configure a task definition:
- Add a new task element to the diagram work area.
- Specify the one of the following task types:
- Navigate to the Properties > General tab.
- Define the following fields:
Id
- For example:deleteReview
Name
- For example:deleteReview
- Enable/disable the Asynchronous
OFF
by default and ExclusiveON
by default options.
User Task Configuration: Listener
To configure a listener for a user task:
- Navigate to the tab.
- Click New.
- In the Listener configuration dialog, define the following fields:
- Event - For example:
create
- Type - For example: Java class
- Fields:
- Field name
- String value
- Expression
- Event - For example:
Listener on Create
Used to:
- Determine due date for the process instance using the dueDateDelta property value
- Assign the task using the round-robin algorithm among possible assignees using
the
possibleAssignees
property value
Properties:
- Event:
create
- Type: Java class
- Implementation:
com.reltio.workflow.activiti.service.TaskStartEventListener
User Task Configuration: Form
Decision
- Navigate to the tab.
- Click New.
- In the Form property configuration dialog, define the following
fields:
- Id - For example:
decision
- Name - For example:
decision
- Type - For example:
enum
- Default - For example:
delete
- Form values
- Id - For example:
delete
,cancel
- Name - For example:
delete
,cancel
- Id - For example:
- Writable - For example:
True
- Required - For example:
True
- Id - For example:
Validator
To configure a Validator form property for a user task:
- Navigate to the tab.
- Click New.
- In the Form property configuration dialog, define the following fields:
- Id - For example: validator
- Name - For example: validator
- Type - For example: string
- Default - For example:
com.reltio.workflow.interfaces.validator.SingleEntityTaskValidator
,com.reltio.workflow.interfaces.validator.PotentialMatchTaskValidator
- Readable - For example:
True
Service Task Configuration
To configure a service task:
- Navigate to the tab.
- Define the following fields:
- Class name - For example:
com.reltio.workflow.activiti.service.Delete
,com.reltio.workflow.activiti.service.NotAMatch
,com.reltio.workflow.activiti.service.Merge
- Class name - For example:
Gateway definition
Gateways are used to fork and join flows inside a process. For example, if there are two possible decisions Delete and Cancel, two flows will link one exclusive gateway to two service tasks (or to a service task and an end event).
Flow definitionFlows are used to link process elements. For example, a user task and a service task, a gateway and a service task, a gateway and an end event, and so on.
To configure a flow:
- Navigate to the tab.
- Define the following fields:
Id
- For example:cancel
Name
- For example:cancel
Flow configuration
To configure a flow:
- Navigate to the Properties > Main config tab.
- Define the following field:
Condition
- For example:${decision=='cancel'}
XML View
As an alternative to the Diagram View with visualized process elements, Activiti Designer provides XML View where process elements and their properties can be viewed/edited as regular XML formatted content.
To open a process diagram in XML View:
- In Activiti Explorer, right-click the process diagram.
- In the popup menu, select .
Exporting Workflow diagram
To export a workflow diagram to a file:
- In XML View, navigate to .
- Specify destination and file name according to the following mask: *.bpmn20.dita.
Required Permissions
Workflow Adapter has role-based permissions for operations, and you can assign any Reltio role to any API endpoint of Workflow Adapter. For details on the API operations and required permissions, refer Reltio Permissions Framework. For details on the Workflow operations, refer Workflow API.
Notes:
- List of Reltio roles are to be configured against each of these permissions.
- Task execution (making a decision) can be done only by the assignee of the task.