Skip to content

Commit 724bab3

Browse files
committed
Clarify consequences of Error Event being a new error, not just information about the existing error.
1 parent 8e70705 commit 724bab3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • content/en/docs/refguide/modeling/application-logic/microflows-and-nanoflows/events

content/en/docs/refguide/modeling/application-logic/microflows-and-nanoflows/events/error-event.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ This event can only be used in **Microflows**.
1010

1111
## Introduction
1212

13-
An error event defines where a microflow will stop and throw an error that occurred earlier. If you call a microflow, you may want to know whether any errors occurred within the microflow or not. This event throws the error again, so the caller of the microflow can catch them. When you use this event, all database actions within the current transaction will be rolled back (for more information, see [Error Handling in Microflows](/refguide/error-handling-in-microflows/)).
13+
An error event defines where a microflow will stop and re-throw an error that occurred earlier. If you call a microflow, you may want to know whether any errors occurred within the microflow or not. This event throws the error again, so the caller of the microflow can catch them.
14+
15+
When you use this event, it creates a new error of the type which occurred earlier. Because this is a new error, even if the error that occurred earlier was caught **without rollback**, all database actions within the current transaction will be rolled back (for more information, see [Error Handling in Microflows](/refguide/error-handling-in-microflows/)).
1416

1517
{{% alert color="warning" %}}
1618
You can only use an error event if an error is in scope: Studio Pro does not allow you to connect the normal execution flow to an error event, because there would not be an error to pass back to the caller.

0 commit comments

Comments
 (0)