Skip to content

Commit 18624b9

Browse files
committed
Language and style review
1 parent 5f27cd0 commit 18624b9

1 file changed

Lines changed: 25 additions & 28 deletions

File tree

content/en/docs/refguide/modeling/application-logic/workflows/event-sub-processes.md

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ Below is an example of what an event sub-process looks like:
1515

1616
### When to Use Event Sub-Processes
1717

18-
An event sub-process is like a Boundary Event, with the exception that an event sub-process can start at any time, whereas a Boundary Event can start only while the activity it is attached to is active.
19-
Choosing between a Boundary Event and an event sub-process is a common architectural crossroads.
18+
An event sub-process is like a boundary event, with the exception that an event sub-process can start at any time, whereas a boundary event can start only while the activity it is attached to is active.
19+
Choosing between a boundary event and an event sub-process is a common architectural crossroads.
2020

2121
#### Ideal Use Cases
2222

23-
* **Global Exception Handling** – Handling errors or cancellations that could occur at any point during the workflow execution.
24-
* **Isolated Logic** – Complex steps triggered by a specific event (e.g., "Change of Address") without cluttering the main flow.
25-
* **Inline Updates** – Updating data in a long-running process without interrupting the primary state of the workflow.
23+
* **Global exception handling** – Handling errors or cancellations that could occur at any point during the workflow execution.
24+
* **Isolated logic** – Complex steps triggered by a specific event (for example, "Change of Address") without cluttering the main flow.
25+
* **Inline updates** – Updating data in a long-running process without interrupting the primary state of the workflow.
2626

27-
#### When NOT to Use
27+
#### When Not to Use Event Sub-Processes
2828

29-
* **Sequential Logic** – If the logic must happen after a specific task, use a standard sequence flow.
30-
* **Conditional Logic Based on Activity State** – You may want to execute a flow only if a certain condition is met while a specific activity is active. A **Boundary Event** should be used here because it is triggered only if the activity it is attached to is active.
31-
* **Returning to a Specific Point** – If you need to abort a specific task execution and resume it later, a **Boundary Event (Interrupting)** is often more appropriate. Once the event is triggered, the **Boundary Event** can utilize a **Jump activity** to return to the original task.
29+
* **Sequential logic** – If the logic must happen after a specific task, use a standard sequence flow.
30+
* **Conditional logic based on activity state** – You may want to execute a flow only if a certain condition is met while a specific activity is active. A boundary event should be used here because it is triggered only if the activity it is attached to is active.
31+
* **Returning to a specific point** – If you need to abort a specific task execution and resume it later, an interrupting boundary event is often more appropriate. Once the event is triggered, the boundary event can utilize a **Jump** activity to return to the original task.
3232

3333
### How Event Sub-Processes Work
3434

@@ -47,22 +47,22 @@ The workflow will NOT complete until all active execution paths, both the main f
4747

4848
#### Triggers and Notifications
4949

50-
Event sub-processes are triggered by a **Notify Workflow** microflow action. When the trigger is received, the sub-process becomes **In Progress**.
50+
Event sub-processes are triggered by a **Notify workflow** microflow activity. When the trigger is received, the sub-process becomes **In Progress**.
5151

5252
#### Interrupting vs. Non-Interrupting
5353

54-
* **Interrupting (Solid line)** – Immediately cancels the main process flow.
55-
* **Non-Interrupting (Dashed line)** – Runs in parallel with the main flow.
54+
* **Interrupting (solid line)** – Immediately cancels the main process flow.
55+
* **Non-Interrupting (dashed line)** – Runs in parallel with the main flow.
5656

57-
{{% alert color="warning" %}}
57+
{{% alert color="info" %}}
5858
Currently, Mendix only supports the non-interrupting variant of event sub-processes. Support for interrupting event sub-processes is planned for a future release.
5959
{{% /alert %}}
6060

6161
#### Concurrency Limitation
6262

63-
Mendix Workflows currently support a **single concurrent instance** per defined event sub-process. If a non-interrupting event sub-process is already active, subsequent attempts to trigger that same sub-process via the **Notify Workflow** action will return false. No new instances will be created for that specific sub-process while one is In Progress. A new instance can only be initiated once the active sub-process has completed its execution path.
63+
Mendix Workflows currently support a **single concurrent instance** per defined event sub-process. If a non-interrupting event sub-process is already active, subsequent attempts to trigger that same sub-process via the **Notify workflow** activity will return `false`. No new instances will be created for that specific sub-process while one is **In Progress**. A new instance can only be initiated once the active sub-process has completed its execution path.
6464

65-
If your workflow has multiple, distinct event sub-processes defined (e.g., one for "Address Change" and one for "Document Upload"), each one can have its own active instance simultaneously. One being active does not prevent a different one from being triggered.
65+
If your workflow has multiple, distinct event sub-processes defined (for example, one for "Address Change" and one for "Document Upload"), each one can have its own active instance simultaneously. One being active does not prevent a different one from being triggered.
6666

6767
## Getting started
6868

@@ -71,28 +71,25 @@ If your workflow has multiple, distinct event sub-processes defined (e.g., one f
7171
To add an **Event sub-process** to a workflow, follow these steps:
7272

7373
* Select an event sub-process from the **Sub-processes** section in the workflow **Toolbox**.
74-
7574
* Drag it onto a dashed drop zone adjacent to the main workflow process.
7675

77-
{{< figure src="/attachments/refguide/modeling/application-logic/workflows/event-sub-processes/drag-and-drop.png" alt="Add Event sub-process example" width="500" >}}
78-
79-
* The sub-process flow will be contained within a dashed rectangle. This dashed border around the sub-process start event indicates that it is a non-interrupting sub-process.
80-
81-
* The flow can contain the same types of activities as the main process flow (e.g., **User Task**, **Call Microflow**, **Decision**).
76+
{{< figure src="/attachments/refguide/modeling/application-logic/workflows/event-sub-processes/drag-and-drop.png" alt="Add Event sub-process example" width="500" >}}
8277

78+
* The sub-process flow is contained within a dashed rectangle. This dashed border around the sub-process start event indicates that it is a non-interrupting sub-process.
79+
* The flow can contain the same types of activities as the main process flow (for example, **User Task**, **Call Microflow**, **Decision**).
8380
* It must start with a **Start** event (triggered by a notification) and end with at least one **End** event.
8481

8582
## Execution
8683

87-
To start an event sub-process create a **Notify Workflow** microflow action and point it to the event sub-process start event.
84+
To start an event sub-process, create a **Notify workflow** microflow activity and point it to the event sub-process start event.
8885

8986
{{< figure src="/attachments/refguide/modeling/application-logic/workflows/event-sub-processes/notify-workflow.png" alt="Notify workflow example" width="400" >}}
9087

9188
### Operational Lifecycle Management
9289

9390
An event sub-process is bound to the lifecycle of its parent workflow instance. Administrative actions and system-level events (such as errors or version conflicts) directly impact the execution state of active sub-processes.
9491

95-
The following table outlines how top-level workflow operations and system states affect any event sub-process currently In Progress:
92+
The following table outlines how top-level workflow operations and system states affect any event sub-process that is currently **In Progress**:
9693

9794
| Event or Operation | Effect on Event Sub-Process | System Behavior |
9895
|---------------------------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -107,18 +104,18 @@ The following table outlines how top-level workflow operations and system states
107104

108105
Event sub-processes have specific restrictions regarding [Jump activity](/refguide/jump-activity/) and [Jump to](/refguide/jump-to/):
109106

110-
* **Between Processes**: It is not possible to jump into a sub-process from the main process (or vice versa), nor between different sub-processes.
111-
* **Within a Sub-process**: Jumps within the same sub-process are permitted.
107+
* Between processes: It is not possible to jump into a sub-process from the main process (or vice versa), nor between different sub-processes.
108+
* Within a sub-process: Jumps within the same sub-process are permitted.
112109
* **Jump to Start Event**: Aborts the current sub-process instance and returns it to a waiting state.
113110
* **Jump to End Event**: Completes the sub-process instance immediately.
114111

115112
## Domain Model Structure
116113

117-
To provide comprehensive monitoring, management, and auditing capabilities, the Mendix Workflow engine utilizes specific system entities and associations. These ensure that every event sub-process instance is traceable back to its definition and correctly linked to the overall workflow lifecycle.
114+
To provide comprehensive monitoring, management, and auditing capabilities, the Mendix Workflow Engine utilizes specific system entities and associations. These ensure that every event sub-process instance is traceable back to its definition and correctly linked to the overall workflow lifecycle.
118115

119116
### WorkflowSubProcessDefinition
120117

121-
The `WorkflowSubProcessDefinition` entity represents the metadata of a Sub-process as defined in the workflow model.
118+
The `WorkflowSubProcessDefinition` entity represents the metadata of a sub-process as defined in the workflow model.
122119

123120
{{< figure src="/attachments/refguide/modeling/application-logic/workflows/event-sub-processes/domain-model/workflow-sub-process-definition.png" class="no-border" >}}
124121

@@ -180,4 +177,4 @@ The `WorkflowSubProcessState` enumeration defines the possible lifecycle phases
180177
* [Notify Workflow](/refguide/notify-workflow/)
181178
* [Workflow Versioning and Conflict Mitigation](/refguide/workflow-versioning/)
182179
* [Jump activity](/refguide/jump-activity/)
183-
* [Jump to](/refguide/jump-to/)
180+
* [Jump to](/refguide/jump-to/)

0 commit comments

Comments
 (0)