Examples

Getting customers from E-conomic by Corporate Id

Getting customers from E-conomic by Corporate Id

Content Type:
Dynamic Effects and Integrations, Effect
See link for pre-release https://wwwtest.dcrgraphs.net:43443/tool/main/Graph?id=c14d0c01-9941-4ae3-b1f2-8943f44a6a4c ...
Get customer details from e-economic using the customer number from e-conomic

Get customer details from e-economic using the customer number from e-conomic

Content Type:
Effect
See link for pre-release: https://wwwtest.dcrgraphs.net:43443/tool/main/Graph?id=80b17457-9898-490f-a4d9-8c11fcd65b0b ...
Get booked invoice by other reference from E-conomic

Get booked invoice by other reference from E-conomic

Content Type:
Effect
See link for pre-release: https://wwwtest.dcrgraphs.net:43443/tool/main/Graph?id=718b3ebf-de7b-4447-8145-632e2640252a ...
Get a list of customers from e-conomic

Get a list of customers from e-conomic

Content Type:
Effect
See link for pre-release: https://wwwtest.dcrgraphs.net:43443/tool/main/Graph?id=69e4ca88-1614-41ae-aaac-e817462b0bb4 ...
Create an invoice draft in E-conomic

Create an invoice draft in E-conomic

Content Type:
Effect
See following link for pre-release:https://wwwtest.dcrgraphs.net:43443/tool/main/Graph?id=332c3753-cb1a-4efb-b4ae-b4e97d85f781 ...
Create a customer in e-conomic

Create a customer in e-conomic

Content Type:
Effect
See the graph in test for pre-release:https://wwwtest.dcrgraphs.net:43443/tool/main/Graph?id=5cd3dc63-c5cf-4f53-8083-9717bc6c2bf6 ...
Global sagsaktivitet: Ændr sagens tilstand når dokument modtages

Global sagsaktivitet: Ændr sagens tilstand når dokument modtages

Content Type:
Standard Process Pattern
Denne globale sagsaktivitet bruges til at ændre sagens tilstand når er modtages et dokument på en sag. Det kan fx ...
Global sagsaktivitet - sæt dokumentdato, Omnidocs

Global sagsaktivitet – sæt dokumentdato, Omnidocs

Content Type:
Standard Process Pattern, Effect, KMD WorkZone
Globale sagsaktiviteter blev introduceret på DCR Center of Excellence mødet den 16. juni 2026 af Emil Frederiksen og Rune Thomsen ...
Byggeklods - 2b - afvente frist og nulstille frist

Byggeklods – 2b – afvente frist og nulstille frist

Content Type:
Standard Process Pattern
...
Byggeklods - 3 - opret dokument baseret på skabelon

Byggeklods – 3 – opret dokument baseret på skabelon

Content Type:
Standard Process Pattern
...
Byggeklods - 4a - sagsfordeling

Byggeklods – 4a – sagsfordeling

Content Type:
Standard Process Pattern
...
Byggeklods - 4b - sagsfordeling - condition response

Byggeklods – 4b – sagsfordeling – condition response

Content Type:
Standard Process Pattern
...
Byggeklods - 5a - send brev med smart post

Byggeklods – 5a – send brev med smart post

Content Type:
Standard Process Pattern
...
Byggeklods - 6 - indhente oplysninger

Byggeklods – 6 – indhente oplysninger

Content Type:
Standard Process Pattern
...
Byggeklods - 7 - Afgørelse - afslag

Byggeklods – 7 – Afgørelse – afslag

Content Type:
Standard Process Pattern
...
Byggeklods - 8b - Opret kontakt og sagspart

Byggeklods – 8b – Opret kontakt og sagspart

Content Type:
Standard Process Pattern
...
Double quote i UpdateEntities

Double quote i UpdateEntities

Content Type:
Technical Syntax & Expressions
Den statiske effekt UpdateEntities kan ikke opdatere værdier der indeholder en double quote, ". Det skyldes parametrene på UpdateEntities effekten: ...
Dato - om et år men i går

Dato – om et år men i går

Content Type:
Technical Syntax & Expressions
Hvordan finder vi datoen om et år, men i går så vi har en periode, fx fra den 1. januar ...
Sæt processens fase i WorkZone

Sæt processens fase i WorkZone

Content Type:
Standard Process Pattern
En DCR graf kan konfigureres så processen deles ind i faser. Desværre vises den aktuelle fase ikke i WorkZone men ...
WorkZone 2024.5

WorkZone 2024.5

Content Type:
Dynamic Effects and Integrations
WorkZone 2024.3 og højere understøtter dynamiske effekter. Aktiviteten WorkZoneCase svarer til den tidligere værdi {Case.ID}. Denne graf gør det muligt ...
WZ.CompleteGraph

WZ.CompleteGraph

Content Type:
Dynamic Effects and Integrations
The two activities WorkZoneCase and WorkZoneCaseActivityInstance are filled with values by WorkZone when loading the case activity id. WZ.CompleteGraph takes ...
Lav undersager til en WorkZone sag

Lav undersager til en WorkZone sag

Content Type:
Standard Process Pattern
Kristian Mikkelsen fra Aalborg Universitet ønskede at skabe en række undersager til en sag for at sikre en ensartet rapportering ...
Boolean - a checkbox or radio button

Boolean – a checkbox or radio button

Content Type:
Technical Syntax & Expressions
In a form we support a checkbox as well as a boolean field. We normally expect that a checkbox is ...
Fjern nøgleord fra en sag i WorkZone

Fjern nøgleord fra en sag i WorkZone

Content Type:
Standard Process Pattern
I WorkZone kan man bruge effekten UpdateEntities til at tilføje nøgleord (keywords) til sin sag. Aktiviteten anvender den statiske WorkZone ...
Send an email

Send an email

Content Type:
Standard Process Pattern
Sending an email from a process can be used to notify people or to exhange data with 3rd party systems ...
Sæt fristen til 1. juni

Sæt fristen til 1. juni

Content Type:
Standard Process Pattern
Fristen for en sag skal sættes til 1. juni. Året afhænger af hvornår er modtaget. Denne dato hentes fraWorkZone af ...
Compute deadline from date and number of months

Compute deadline from date and number of months

Content Type:
Technical Syntax & Expressions
...
WZ.StartCaseActivity

WZ.StartCaseActivity

Content Type:
Dynamic Effects and Integrations
The WZ.StartCaseActivity enables you to start a new case activity on another case in KMD WorkZone. The parameters for the ...
National holidays

National holidays

Content Type:
Technical Syntax & Expressions
Monday December 23rd, 2024 is a normal working day. If we add one day to this date we will get ...
Compute number of days between two dates

Compute number of days between two dates

Content Type:
Technical Syntax & Expressions
How do you compute the number of days between the dates. Computing this in FEEL is quite easy, simply use ...
Omnidocs Create

Omnidocs Create

Content Type:
Dynamic Effects and Integrations
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

Content Type:
Technical Syntax & Expressions
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

Content Type:
Dynamic Effects and Integrations
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

Content Type:
Dynamic Effects and Integrations
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

Content Type:
Dynamic Effects and Integrations
This graph shows how the four effects which handles documents in WorkZone works. First the user must fill out the ...
WZ.CreateEntity

WZ.CreateEntity

Content Type:
Dynamic Effects and Integrations
First the user must fill out the form values Title and CVR Number. The the robot lookup the CVR Number ...
WZ.ValidateEntities

WZ.ValidateEntities

Content Type:
Dynamic Effects and Integrations
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

Content Type:
Dynamic Effects and Integrations
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

Content Type:
Dynamic Effects and Integrations
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

Content Type:
Dynamic Effects and Integrations
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

Content Type:
Standard Process Pattern
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

Content Type:
Dynamic Effects and Integrations
Using the WorkZone effects GetValue and SetValue it is possible to retrieve the value of the title of the case ...
datafordeler.dk as an effect

datafordeler.dk as an effect

Content Type:
Dynamic Effects and Integrations
DCR Portal 6.9 supports simulating with effects. In order to use this feature your organization must be configured properly. The ...
DCR SOP - radio buttons

DCR SOP – radio buttons

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

Content Type:
Dynamic Effects and Integrations
You open the graph and start DCR Simulator. You then click "Open" to enter the ID of the WorkZone Case ...
Simple effect using REST GET

Simple effect using REST GET

The logic works as follows. First, the user enters the name of the city. Doing this makes the "lookup" activity ...
Setting a deadline based on a value from WorkZone

Setting a deadline based on a value from WorkZone

Content Type:
Standard Process Pattern
This graph shows how to set the deadline of an activity in a DCR graph based on a value on ...
Subgraph

Subgraph

Content Type:
Technical Syntax & Expressions
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

Content Type:
Technical Syntax & Expressions
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

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

FEEL attributes

Content Type:
Technical Syntax & Expressions
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

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

FEEL date functions

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

FEEL string functions

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

Computing deadline as an expression

Content Type:
Technical Syntax & Expressions
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

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

Content Type:
Technical Syntax & Expressions
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

Content Type:
Technical Syntax & Expressions
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

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

Content Type:
Standard Process Pattern
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

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

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

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 ...
Nesting versus subprocesses

Nesting versus subprocesses

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

Application form

Content Type:
Standard Process Pattern
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

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

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

Content Type:
Standard Process Pattern
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

Content Type:
Standard Process Pattern
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

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

Content Type:
Standard Process Pattern
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

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

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