- Print
- DarkLight
- PDF
Workflow management
The workflow functionality, also known as "Business Process Management", allows you to create workflow templates using BPMN 2.0 standards. In concrete terms, the workflow management functionality is linked to several features already existing in Constellio to enable workflow management:
- Tasks
- Administrative units
- Security management
- Email server configuration
- Etc.
1. Create a workflow
1.1 Create a New Workflow
To create a new schema, you will need to follow these steps:
- In the navigation menu, click on the " Administration " icon;
- Click on the " Manage the workflows " icon;
- In the context menu, click on the " Add " option.
Element | Function | |
Code | Obligatory | Allows you to assign a code to the workflow. |
Model Title | Obligatory | Allows you to assign a name to the workflow. |
Import a workflow (xml file) | Facultative | Allows you to import an XML file in BPMN 2.0 format to create a workflow template created outside of Constellio. |
Can be manually started | Facultative | Allows you to select whether the workflow can be started automatically or manually. |
Support access a sharing | Facultative | Allows you to share or limit access to the various elements associated with workflows. |
Subsequently, a window will ask you to select whether the workflow is public or private. This security only aims to determine who can launch this workflow
Mode | Element | Fonction |
---|---|---|
Public | All users can launch the workflow | |
Private | Administrative Unit | All users with the Start a Workflow permission on this unit can start the workflow |
Groups | Groups in this list can launch the workflow | |
Users | Users in this list can launch the workflow |
When the information has been saved, a BPMN 2.0 visual editor will be displayed on the screen.
A Business Process Model and Notation diagram, also known as BPMN, is a tool for schematizing an internal process. The purpose of such a diagram is to provide a visual representation of a process so that it is easily understandable.
1.2 Graphic elements
A BPMN diagram is usually drawn from left to right, but you can create a vertical version. A BPMN consists of elements that are divided into four categories: flow objects, connection objects, corridors, and artifacts. Each group has symbols that represent the different actions.
1.3 Flow objects
Flow objects are the elements that are connected and form a flow of processes.
1.3.1 Events
Events are used to identify a particular state in the process. These elements are represented by circles. They mark the beginning or end of a workflow.
Events | Description | Images |
---|---|---|
Create StartEvent / Start a workflow | Use this element to start a workflow. Moreover, this element is mandatory and automatically integrated into the schema as soon as the workflow is created. The beginning of a workflow should always be followed by a parallel task or door. It is impossible to do this with an exclusive or inclusive door. | |
Create EndEvent / Complete workflow | This element is used to complete a workflow. It is also mandatory. Its outline is in bold; it is thanks to this characteristic that we can differentiate the end from the beginning of an event. It is possible to assign multiple ends to a workflow, but it will always have only one start. |
1.3.2 Activities
The activities of a BPMN appear as a rectangle with rounded corners.
Create Task / Create a task
Use this element to add a task to the workflow. Tasks represent an action to be performed, for example: create an employee folder. Call Activity
Use this element to add a call to another workflow. The "Call Activity" must contain the code of the current workflow that is deployed correctly.
1.3.3 Connections
It is used to represent the routing condition between the input stream(s) and the output stream(s). This element is diamond-shaped and the symbol inside differs depending on the condition. Branching is not a task and does not perform any action. Connections are used as much to divide a stream into multiple streams as they are to bring multiple streams together into one.
Connections | Description | Images |
---|---|---|
Exclusive Gateway | The exclusive door allows you to add a single choice condition that will define the next task to be done. | |
Inclusive Gateway | The inclusive door allows you to add a multiple-choice condition that will define the next tasks to be done. | |
Parallel Gateway / Porte parralèle | The parallel door allows you to generate several tasks in parallel. | |
Doors | Doors actually represent a question with one or more applicable answers that leads to one or more activities. To apply a question and its answers:
Only one answer is applicable per line. |
1.4 Connection objects
Connection objects represent the links between objects and elements that flow through a process.
Connection Objects | Description | Images |
---|---|---|
Sequence / Sequence Flow | The solid arrowhead line indicates the order in which the activities are performed. | |
Association | The dotted line shows the relationships between text and tasks and flow objects. | |
Text annotation / Text annotation | Text annotation provides additional information to an activity. | |
Pools / Swimming pools | The pools represent the entire organization and contain corridors. | |
Lane / The corridors | Corridors indicate who is performing a set of defined tasks. |
1.5 Import/Export a workflow
1.5.1 Export
To export a workflow, there are two ways to do it:
- Export workflow schema: This allows you to export the workflow schema to an XML file.
- Export workflow: This allows you to export a zip file that contains the workflow schema in XML format as well as the template tasks associated with that workflow.
To carry out the export, it will be necessary to follow the following steps:
- In the navigation menu, click on the "Administration" icon;
- Click on the "Manage the workflows" icon;
- Click on the magnifying glass of the workflow that will have to be exported;
- In the context menu, click on the "Actions" option;
- Click on "Export workflow schema" or "Export workflow".
1.5.2 Importation
To import a workflow in XML format, you will need to follow these steps:
- In the navigation menu, click on the "Administration" icon;
- Click on the "Manage the workflows" icon;
- In the context menu, click on the "Add" option;
- Add the XML file via the [...] or drag and drop.
It is also possible to import a workflow with the template tasks, also by following these steps:
- In the navigation menu, click on the "Administration" icon;
- Click on the "Import Records" icon;
- Add the zip with the XML files via the [...] or drag and drop.
1.6 The action menu
Following the recording of your workflow diagram, an action menu will be available on the right side of the screen. Several actions are possible:
Actions | Description | Image |
---|---|---|
Spread out | This option makes the workflow accessible for use. | |
Modify | This option allows you to edit the workflow metadata. | |
Undo changes | This option returns to the old deployed version of the workflow. | |
Edit diagram | This option allows you to edit the workflow diagram. If tasks are removed or added, the task table will need to be revised. | |
Configure security | This option opens the same window as when creating a new workflow. It allows you to determine who can launch this workflow. For options refer to section 1.1 of this page. | |
Delete | This option deletes the workflow. Deleted workflows are sent to the Trash. It is possible to restore them according to the number of days of retention provided in the configuration of the recycle bin. This configuration can be found in: Control -> Configuration -> Others -> "Number of days before deleting items from the Recycle Bin". | |
Export the workflow schema | This option allows you to export the workflow schema in XML format. This option is convenient for the purpose of importing it back into a new Constellio workflow, for example: to recreate from the same template or import it into another collection or environment. | |
Export workflow | Allows you to export a zip file that contains the workflow schema in XML format and the template tasks associated with that workflow. | |
Configure traking | Allows you to choose which users can view workflow task details and workflow progress. This progress is accessible from the Workflow tab (See section 3 of this page). |
1.7 Model tasks
Once the workflow diagram is saved, you will also find the list of metadata and tasks that have been created in that same workflow.
Tasks are searchable and editable. They act as templates. Descriptions, assignments, reminders, files, and follow-ups applied to them will therefore be retained each time a workflow is started.
Click on a task's side menu to "Display this task" or "Edit this task".
It is possible to click on a task in the diagram to highlight the task in the table. This makes it easier to distinguish and locate tasks.
See the task guide for more information: Tasks overview.
1.8 Template task metadata
1.8.1 Time Limit
Metadata on the Definition tab | ||
---|---|---|
Field Name | Description | |
Task must be done (in days) | Facultative | Allows you to add a time limit in days to complete the task. |
1.8.2 Assignement
Metadata in the Assignment tab | ||
---|---|---|
Field Name | Description | |
Assignment priority | Facultative | Allows you to determine an assignment priority order between workflow creators, the person assigned to the last task, and the user with the function in the administrative unit. |
Assign to function | Facultative | *Allows you to determine the function to which the task should be assigned. |
Assignment based on estimated task duration | Facultative | **Assigns the task to the user who has the least task within the administrative unit (estimated value in hours). |
* In order for this option to work, the functions must first be determined in: Control -> Value Domains -> Function. Then, the metadata "Functions" must be previously populated in the form of the administrative unit. To add metadata to the form: Control -> Metadata Schemas -> Schema Type - Administrative Unit -> Default Administrative Unit Schema -> Configure Form -> Add "Functions".
** In order for this option to work, the metadata "Estimated duration (in hours)" must be enabled and populated in user tasks: Control -> Metadata Schemas -> Schema Type - Task -> Metadata - Default Task Schema -> Enable "Estimated Time (in Hours)".
2. Start a workflow
When a workflow is deployed, it becomes available for use. There are two ways to start a workflow.
2.1 From tasks
It is possible to start a workflow from the "Tasks" tab in the navigation menu on the left of the screen.
- Tap on the " Tasks " tab in the navigation menu on the left of the screen;
- Click on " Start a workflow ";
- Select a workflow;
- It is mandatory to fill in the fields " Workflow Title ";
- Save.
You can also link one or more documents, folders, and/or containers. The records will be found in all workflow tasks.
2.2 From a recording
It is possible to start a workflow from a document, folder, or container.
- View a recording;
- In the action menu, press " Start a workflow ";
- Select a workflow.
- The " Title " field is automatically populated by the title of the record consulted. However, it remains changeable;
- Save.
The recording will be found in all workflow tasks.
3. Tabs
Description | Images | tabs |
---|---|---|
The Workflow tab | On the Workflow tab are two other tabs: Workflow in Progress and Workflow Completed. | |
The Current Workflow tab | Use this tab to view running workflows and their status. Via the magnifying glass, it is possible to consult the status of completed and current tasks, modify them and display their description. Tasks currently in progress are displayed in yellow in the workflow diagram. | |
Workflow tab completed | Use this tab to view completed workflows. A completed workflow is a workflow in which all its activities have been completed. The viewing windows are similar to the current workflows. However, the status of all tasks is "Completed". It is possible to consult them and display their description. |
3.2 The performance indicator tab
The performance indicator allows you to mark the progress or delay of ongoing tasks visually through graphs.
It is possible to define performance indicators according to an administrative unit and/or a user over a specific period of time.
The performance indicators are divided into three graphs:
- Timeliness: This pie chart shows overdue tasks and those with deadlines in percentage values;
- Overdue tasks by workflow, step, and user: This bar chart shows overdue tasks based on workflows, steps, and users;
- Time-bound tasks by workflow, step, and user: This bar chart shows tasks that meet deadlines based on workflows, steps, and users.
*Bar charts can be deployed to have more details about tasks and users. Each bar represents a workflow in progress. Just tap on one of them to extend the graph.
4. Tasks
The workflow tasks assigned to you can be found in the " My Tasks " tab of the Tasks. You can differentiate them from standard tasks by saying "Workflow Execution".
Workflow tasks are assigned in an automated way according to the assignments determined in the templates and the choices you select following the completion of the workflow.
4.1 Assign me the task
It is possible to modify the workflow task to assign the task. To do so, follow these steps:
- Ensure that the workflow is well started;
- In the navigation menu, click on "Tasks";
- Modify the workflow task;
- In the "Assignment" tab, change the user "Assigned to";
- "Save".
See the task guide for more information: Task Management.