Skip to content

Commit 32ef213

Browse files
Merge branch 'main' into update-flows-diagrams
2 parents dbc50d9 + 5f41e54 commit 32ef213

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

guides/messaging/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,3 +644,17 @@ S4Bupa.on ('BusinessPartner.Changed', msg => {...})
644644
Find more detailed information specific to receiving events from SAP S/4HANA in this separate guide:
645645
[→ **_Receiving Events from SAP S/4HANA_**](./s4)
646646
:::
647+
648+
649+
## [Task Queues](task-queues)
650+
651+
The _Outbox Pattern_ is a reliable strategy used in distributed systems to ensure that messages or events are consistently recorded and delivered, even in the face of failures.
652+
This pattern, however, can not only be applied to outbound messages, but to inbound messages and server-internal background tasks as well.
653+
The core principle remains the same:
654+
1. Persist the message (or _task_) in the database -- using the same transaction as the triggering action, if applicable
655+
2. Process it asynchronously afterwards -- incl. retries, if necessary
656+
657+
::: tip Read the guide
658+
Find additional information about modeling task queues in this guide:
659+
[→ **_Task Queues_**](task-queues)
660+
:::

guides/providing-services.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,6 +1101,24 @@ entity Person : cuid {
11011101

11021102
Next to input validation, you can add [database constraints](databases#database-constraints) to prevent invalid data from being persisted.
11031103

1104+
## [Constraints](services/constraints)
1105+
1106+
Declarative constraints allow you to express conditions using CXL expressions that are validated automatically whenever data is written, greatly reducing the need for extensive custom code for input validation.
1107+
1108+
::: tip Read the guide
1109+
Find additional information about constraints in this guide:
1110+
[→ **_Constraints_**](services/status-flows)
1111+
:::
1112+
1113+
## [Status-Transition Flows](services/status-flows)
1114+
1115+
Status-transition flows ensure transitions are explicitly modeled, validated, and executed in a controlled and reliable way, thereby eliminating the need for extensive custom coding.
1116+
1117+
::: tip Read the guide
1118+
Find additional information about modeling status-transition flows in this guide:<br>
1119+
[&rarr; **_Status-Transition Flows_**](services/status-flows)
1120+
:::
1121+
11041122
## Custom Logic
11051123

11061124

0 commit comments

Comments
 (0)