Examples

FEEL map function

FEEL map function

Type:
FEEL, Form
...
DCR.Documotor

DCR.Documotor

First the user enters the metadata for the document to be created. The metadata is a set of properties that ...
DCR.Sample.GatewayAPI

DCR.Sample.GatewayAPI

The user enters a phone number and a message. Once done the Robot invokes the dynamic effect DCR.Sample.GatewayAPI which given ...
DCR.Creditsafe

DCR.Creditsafe

First the user enters the CVR Number. Then the robot retrieves the internal CreditSafe id by invoking the DCR.CreditSave.CVR with ...
DCR.Sample.Weather

DCR.Sample.Weather

The user enters a City. Then the Robot lookup the temperature by invoking the effect DCR.Sample.Weather. Finally, the temperature returned ...
WZ.GetDocumentLink, WZ.GetDocument, WZ.CreateDocument, WZ.AddDocumentToCase

WZ.GetDocumentLink, WZ.GetDocument, WZ.CreateDocument, WZ.AddDocumentToCase

Type:
KMD WorkZone
This graph shows how the four effects which handles documents in WorkZone works. First the user must fill out the ...
WZ.CreateEntity

WZ.CreateEntity

Type:
KMD WorkZone
First the user must fill out the form values Title and CVR Number. The the robot lookup the CVR Number ...
WZ.ValidateEntities

WZ.ValidateEntities

Type:
KMD WorkZone
First the user fill out the input form with Case.ID and State.Then WZ.Validatentities is invoked by the robot. It returns ...
WZ.GetEntity

WZ.GetEntity

Type:
KMD WorkZone
First the user enters the id of the WorkZone case in Case.ID. Then the robot retrieves properties from WorkZone using ...
WZ.SetValue

WZ.SetValue

Type:
KMD WorkZone
First the robot retrieves the value of the case from WorkZone using WZ.GetValue. Then the user can view and update ...
WZ.GetValue

WZ.GetValue

Type:
KMD WorkZone
First the user must enter the id of the WorkZone case, Case.ID. Once entered the robot retrieves the title of ...
Set a deadline in WorkZone based on an activity deadline

Set a deadline in WorkZone based on an activity deadline

Type:
KMD WorkZone, Time and durations - delays and deadlines
This model explains how to set a deadline in WorkZone as a custom field. The user first pick a deadline ...
Using WorkZone Effects in DCR Simulator to update the title of a case

Using WorkZone Effects in DCR Simulator to update the title of a case

Type:
Effect, KMD WorkZone
Using the WorkZone effects GetValue and SetValue it is possible to retrieve the value of the title of the case ...
CVRAPI.dk as an activty effect

CVRAPI.dk as an activty effect

Type:
Effect
DCR Portal 6.9 supports simulating with activity effects. In order to use this feature your organization must be configured properly ...
DCR SOP - radio buttons

DCR SOP – radio buttons

Type:
Form
If the user should make a choice between different values DCR graphs supports the data type "Choice". Historically we have ...
WorkZone GetValue Effect in DCR Simulator

WorkZone GetValue Effect in DCR Simulator

Type:
Effect, KMD WorkZone, Robot activities - automation
You open the graph and start DCR Simulator. You then click "Open" to enter the ID of the WorkZone Case ...
Simple activity effect using REST GET

Simple activity effect using REST GET

Type:
Effect, KMD WorkZone, Robot activities - automation
Notice: This will not work until DCR Portal 6.9 is released in August 2023. The logic works as follows. First, ...
Setting a deadline based on a value from WorkZone

Setting a deadline based on a value from WorkZone

Type:
KMD WorkZone, Time and durations - delays and deadlines
This graph shows how to set the deadline of an activity in a DCR graph based on a value on ...
Subgraph

Subgraph

This process contains five different activities where three activities is in a multi-instance sub-process. Create new document – spawn a ...
FEEL lists in choice fields

FEEL lists in choice fields

Type:
FEEL
From time to time you would like to change the possible values in a choice field to depend on the ...
FEEL - floor and ceiling of a duration

FEEL – floor and ceiling of a duration

Type:
FEEL
The Friendly Enough Expression Language, FEEL, empowers business people to write expressions in a manner that is easy to understand ...
FEEL attributes

FEEL attributes

Type:
FEEL
The friendly enough expression language, FEEL, supports various attributes on datetime and duration. This example provides an example of how ...
FEEL list functions

FEEL list functions

Type:
FEEL
This example demonstrates how to use FEEL list functions ...
FEEL date functions

FEEL date functions

Type:
FEEL
Provides examples of using the FEEL date functions ...
FEEL string functions

FEEL string functions

Type:
FEEL
This example shows how to use various FEEL string functions ...
Computing deadline as an expression

Computing deadline as an expression

Type:
Time and durations - delays and deadlines
Setting a deadline can be done entering the specific value, e.g. "P7D" for 7 days or "P5WD" for 5 working ...
Decision Modelling and Notation

Decision Modelling and Notation

Type:
User expressions
In DCR Portal 6.7 we extended the DMN support in the portal. Given a simple DMN model as outlined below ...
Expressing working days

Expressing working days

Type:
Time and durations - delays and deadlines
Using ISO 8601 duration we can express a deadline of 7 days as "P7D". We have extended the expressiveness of ...
Logical include simplifies modelling

Logical include simplifies modelling

In this example we show a simple example of why a logical include is simpler to use. We must make ...
Compute birthday based on a Danish CPR number

Compute birthday based on a Danish CPR number

Type:
KMD WorkZone, Robot activities - automation
A Danish CPR number is encoded as 10 digits, sometimes as 6 digits followed by a - and then 4 ...
Decision Modelling in Timed Dynamic Condition Response Graphs with Data

Decision Modelling in Timed Dynamic Condition Response Graphs with Data

Type:
Time and durations - delays and deadlines
This example is presented in the article Decision Modelling in Timed Dynamic Condition Response Graphs with Data presented at the ...
An activity must happen once monthly on the 1st

An activity must happen once monthly on the 1st

Type:
Robot activities - automation, Time and durations - delays and deadlines
Whenever a new month occur you need a specific activity to happen, "Do The Monthly Work". Initially you need to ...
Form that calculates remaining value

Form that calculates remaining value

Type:
Robot activities - automation
You can apply a foundation for a grant as outlined in this example. When the application has been reviewed it ...
Separation of duties

Separation of duties

Type:
Separation of duties
We're previously outlined an expense report example. However, we would like to express that the manager cannot approve his own ...
Difference between pre-condition, condition and milestone rules

Difference between pre-condition, condition and milestone rules

With release 5.8 of the DCR portal we introduced a new business rule, the pre-condition rule, which combined the condition ...
VBA Evaluation Form - BPM 2018

VBA Evaluation Form – BPM 2018

Type:
Form
The form supports many user journeys in one form. This benefits the end user that only needs to handle one ...
Demo - service law 42 - english

Demo – service law 42 – english

Process description Paragraph (1) The municipal council shall pay compensation for loss of earnings to persons maintaining a child under ...
Demo BPM 18 - Process change - Order Management

Demo BPM 18 – Process change – Order Management

Process description ORDER MANAGEMENT In an order management scenario a buyer places an order. A supplier receives the order, to ...
BPMAI Example 3

BPMAI Example 3

Process description The workflow of a computer repair service (CRS) can be described as follows. A customer brings in a ...
BPMAI: Example 2

BPMAI: Example 2

Process description Consider the following business process at an insurance company. The process includes two major roles, agents (supporting customers ...
BPMAI: Example 1

BPMAI: Example 1

Process description A hospital wants to establish a rating workflow for their doctors. To make the workflow reliable two different ...
Repeat an activity every week

Repeat an activity every week

Type:
Time and durations - delays and deadlines
...
Nesting versus subprocesses

Nesting versus subprocesses

Type:
Nesting, Subprocess
When you execute the two activities Must do NestingMust do Sub-process You end up in this situation: This illustrates the ...
Application form

Application form

Type:
Form
This example outlines an application form used by foundations such as Dreyers Fond, Rudolph Als Fonden or Velliv Fonden. You ...
Set a deadline based on a duration

Set a deadline based on a duration

Type:
Time and durations - delays and deadlines
A deadline can be set based on data. You can enter a deadline as a duration and get a deadline ...
Set a deadline based on a date

Set a deadline based on a date

Type:
Time and durations - delays and deadlines
A deadline can be set based on data. You can enter a deadline as a date and get a deadline ...
Start an activity when a child reaches a certain age

Start an activity when a child reaches a certain age

Type:
Time and durations - delays and deadlines
Working with Syddjurs Municipality we’ve seen examples where certain activities must start when a child reaches the age of 16 ...
Put a deadline on hold in building case permits

Put a deadline on hold in building case permits

Type:
Time and durations - delays and deadlines
We’ve worked with Genoa and Copenhagen Municipalities on building permit process and have found a pattern where a deadline is ...
Absolute time - pattern for exception handling

Absolute time – pattern for exception handling

Type:
Time and durations - delays and deadlines
This pattern is used to handle missing deadlines. Let us assume we have a deadline of 7 days for some ...
Example of onboarding process

Example of onboarding process

At the start of creating this process model, we made several roles and tags in order to categorize and define ...
Multi-instance sub-process

Multi-instance sub-process

Please refer to the subgraph example. This process contains five different activities where three activities is in a multi-instance sub-process ...
Employee onboarding

Employee onboarding

This example will take you through the process of creating a DCR Process Model from a text. We will use ...
Expense report

Expense report

A simple DCR model is the expense report which consist of three roles: EmployeeManagerFinance The employee fills out the expense ...
DCR Process Engine Version

DCR Process Engine Version

Type:
KMD WorkZone
The DCR Process Engine has evolved over the years and some features and functions requires a specific version of the ...
Case Management Process

Case Management Process

We've taken the liberty to copy chapter 2 of the article Web-Based Modelling and Collaborative Simulation of Declarative Processes to ...
Grant Application Process

Grant Application Process

This model is presented in the paper A Case for Declarative Process Modelling: Agile Development of a Grant Application System ...