You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/application-logic/workflows/boundary-events.md
+17-10Lines changed: 17 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,10 @@
2
2
title: "Boundary Events"
3
3
url: /refguide/workflow-boundary-events/
4
4
weight: 20
5
-
beta: true
6
5
---
7
6
8
7
{{% alert color="info" %}}
9
-
This feature is currently in public beta as of Studio Pro 10.15. Certain functionalities may be subject to change and may contain issues. For more information, see [Beta Releases](/releasenotes/beta-features/).
8
+
Non-interrupting timer boundary events were in public beta in Studio Pro 10.15and released in GA in Studio Pro 10.16.
10
9
{{% /alert %}}
11
10
12
11
## Introduction
@@ -31,11 +30,7 @@ Studio Pro now supports the following boundary event:
31
30
32
31
## Getting started
33
32
34
-
To enable this feature, go to Studio Pro **Preferences** -> the **New features** tab -> the **Workflow editor** section and select **Enable non-interrupting timer boundary events (beta)**:
* Double-click one of the above-listed activities to open its properties dialog box, go to the **Events** tab, and in the > **Boundary events** section, click **New** to add a new boundary event.
@@ -81,11 +80,19 @@ Boundary events are initiated when their parent activity is initiated. For examp
81
80
82
81
With non-interrupting boundary events, the parent activity remains active/in progress when a boundary event is triggered (which means that the parent activity is not interrupted). For example, when a timer boundary event on a user task is triggered after 2 days, this task will remain in progress and the path defined below the timer boundary event is executed. When the boundary event's path reaches the **End of boundary path**, the workflow will await the completion of the parent activity.
83
82
84
-
## Current Limitations
83
+
## Boundary Event Variables
84
+
85
+
Boundary events have dedicated variables that can be used to get direct access to the values of the parent activity if it is either a user task or Call workflow activity. You can get information such as the parent activity's `DueDate`, which can be used in the boundary event flow and its expressions. For instance, you can use the expression `addDays($ParentTask/DueDate, -2)` to configure a timer boundary event so that it is triggered two days before the due date of its parent user task.
86
+
87
+
The list of variables is described below:
88
+
89
+
*`$ParentTask` – the parent user task of the attached boundary event
90
+
*`$CalledWorkflowInstance` – the parent Call workflow activity of the attached boundary event
91
+
92
+
## Current Limitation
85
93
86
-
The current release of boundary events has the following limitations which are actively being developed:
94
+
The current release of boundary events has the following limitation which is actively being developed:
87
95
88
-
* No access to the data of the parent activity in the boundary path. For user tasks, we will add a variable `$ParentTask` which is available in the boundary event path of a user task (for example, to enable getting the assigned user that should receive a notification when a task is overdue). This is the same for `$CalledWorkflowInstance` if the parent activity is a **Call workflow** activity.
89
96
* Non-interrupting timer boundary events currently have no recurrence. They are only executed once and will not repeat.
0 commit comments