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/microflows-and-nanoflows/activities/workflow-activities/notify-workflow.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,27 +13,27 @@ This activity can only be used in microflows.
13
13
14
14
The **Notify workflow** activity is used to resume or trigger logic within a [workflow](/refguide/workflows/). It specifically targets two types of elements:
15
15
16
-
* A [Wait for Notification](/refguide/wait-for-notification/) workflow activity currently suspended in a flow.
17
-
* A [Notification Event Sub-process](/refguide/workflow-event-sub-processes/) defined within the workflow.
16
+
* A [Wait for notification](/refguide/wait-for-notification/) workflow activity currently suspended in a flow.
17
+
* A [Notification event sub-process](/refguide/workflow-event-sub-processes/) defined within the workflow.
18
18
19
-
When the **Notify workflow**action is executed, the engine checks for an active receiver. If a valid **Wait for Notification** activity or a **Notification Event Sub-process** is found and successfully triggered, the action returns `true`. If no active receiver is found, it returns `false`.
19
+
When the **Notify workflow**activity is executed, the Workflow Engine checks for an active receiver. If a valid **Wait for notification** activity or a **Notification event sub-process** is found and successfully triggered, the activity returns `true`. If no active receiver is found, it returns `false`.
20
20
21
21
{{% alert color="warning" %}}
22
-
Attempting to notify a workflow that is already `Completed` or `Aborted`will result in a runtime error. For information on how to handle these cases, see [Error Handling in Microflows](/refguide/error-handling-in-microflows/).
22
+
Attempting to notify a workflow that is already `Completed` or `Aborted`results in a runtime error. For information on how to handle these cases, see [Error Handling in Microflows](/refguide/error-handling-in-microflows/).
23
23
{{% /alert %}}
24
24
25
25
### Execution Behavior
26
26
27
-
The table below describes how the workflow engine responds when a **Notify workflow**action is called, depending on the state of the workflow and the type of receiver configured.
27
+
The table below describes how the Workflow Engine responds when a **Notify workflow**activity is called, depending on the state of the workflow and the type of receiver configured.
28
28
29
-
| Workflow/Element State | Action Result | System Behavior|
| Aborted or Completed | Error | The action fails. An error is logged indicating the workflow is no longer in an active state and cannot be notified.|
32
-
| Paused, Failed, or Incompatible | True | The notification is accepted and "queued." The targeted activity or **Event Sub-process** will trigger automatically once the workflow is resumed or resolved. |
33
-
|**Wait for Notification** (Active) | True | The workflow resumes execution from the point of the **Wait for Notification** activity.|
34
-
|**Event Sub-process** (Inactive) | True | The **Event Sub-process** is triggered immediately and its execution path begins.|
35
-
|**Event Sub-process** (In Progress) | False | The notification is ignored because an instance of this specific sub-process is already running. No new instance is created.|
36
-
| No matching receiver | False | If the workflow is active but does not contain the specified **Wait for Notification** activity or **Event Sub-process**, the action returns `false`.|
29
+
| Workflow/Element State | Action Result | System Behavior |
30
+
|---|---|---|
31
+
| Aborted or Completed | Error | The activity fails. An error is logged indicating the workflow is no longer in an active state and cannot be notified. |
32
+
| Paused, Failed, or Incompatible | True | The notification is accepted and "queued." The targeted activity or event sub-process is triggered automatically once the workflow is resumed or resolved. |
33
+
| Wait for notification (Active) | True | The workflow resumes execution from the point of the **Wait for notification** activity. |
34
+
| Event sub-process (Inactive) | True | The event sub-process is triggered immediately and its execution path begins. |
35
+
| Event sub-process (In Progress) | False | The notification is ignored because an instance of this specific sub-process is already running. No new instance is created. |
36
+
| No matching receiver | False | If the workflow is active but does not contain the specified **Wait for notification** activity or **Event sub-process**, the activity returns `false`. |
0 commit comments