Configuring a Process Visualisation
This example will outline the functionality of the process visualisation feature.
This example will outline the functionality of the process visualisation feature. This feature is intended to indicate to an end user the process that their record is undergoing and where in the process they are up to. For example an application form that needs to be submitted, reviewed, approved and then managed until completion.
About this example
This example describes the following tasks:
- Configure a Process Visualisation for a dynamics form on the portal.
- Configure the conditions for each process block
- Customise the visualisation
📋 Prerequisites
To complete this example, you will need:
- A "Dynamics form 2.0" page on your portal.
- some basic fetchxml knowldedge.
🔐 Roles
There are no specific security requirements for a visualisation to work. It is rendered on the record that should already be configured for the user to see.
📖 Scenario
We will define a simple 3 step process with a condition on a number field.
Create the Progress Visualisation
On your Dynamics 2.0 Page, in the dynamics layout, add a new Progress Visualisation section. You can place this anywhere in the form layout, but typically it would be the first item.

In addition to specifying the Progress blocks, you can also specify an additional custom css class to apply to each type of block (completed, current and incomplete). This is optional, but allows you to use a custom css stylesheet to further enhance the look and feel of the blocks for your implementation.
Add the Progress Blocks
Add between1 and 6 progress blocks to your visualisation. For each block you can specify a number of properties, including the icon, title description and condition. For advanced users, you can specify a unique DOM id that will be applied to the top level div for the block, so you could run scripts against it.

For the condition, you can specify a filter with multiple conditions or filters, or a single condition. For a filter you have tospecify the type (and / or) and a filter can contain other filters. All conditions only relate to the current entity being rendered, and you cannot add linked entities. In our example, we will use a single number field and specify values of 1, 2 and greater than 3.
DRAFT: <condition attribute="klevr_wholenumber" operator="eq" value="1" />
REVIEW: <condition attribute="klevr_wholenumber" operator="eq" value="2" />
COMPLETE: <condition attribute="klevr_wholenumber" operator="ge" value="3" />
The logic will evaluate the blocks from last to first to determine where in the process we are. This means that the furtherest block in the process that matches the criteria will be selected as the most recently completed block, and the next block will be the current active block. If no criteria is matched, then the first block would be the current active block.
In our example the following applies:
klevr_wholenumber = 0: No criteria matches, therefore DRAFT (this first block) is highlighted as the current block.
klevr_wholenumber = 1: DRAFT block is the first block starting from the bottom that matches the criteria, and is marked as completed, the next block (REVIEW) is marked as the current block.
klevr_wholenumber = 2: REVIEW block is the first block starting from the bottom that matches the criteria (note that the draft block is not evaluated as we have found a matching block lower down the list that matches), and is marked as completed, the next block (COMPLETE) is marked as the current block.
klevr_wholenumber = 3: COMPLETE block is the first block starting from the bottom that matches the criteria (note that the draft and review block is not evaluated as we have found a matching block lower down the list that matches), and is marked as completed, There are no fruther blocks, so the entire process is considered complete.
Note that if the COMPLETE condition had an operator of "eq", then if klevr_wholenumber was 4 or more, no conditions would m
⏩ Next Steps
Note that you can add the progress visualisation anywhere between sections on the form. You could also have multiple visualisations on the same form with different processes in each. If you do find a scenario where this is useful, please share it with the product team as we would love to know how this feature is used.
Last updated on