Wiki source code of Asynchronous Error Handling

Last modified by Erik Bakker on 2024/02/20 14:01

Show last authors
1 {{container}}{{container layoutStyle="columns"}}(((
2 In this microlearning, we will explain the basics of asynchronous error handling that plays a vital role in ensuring that messages that do not meet the criteria are correctly displayed in the Manage phase.
3
4 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]].
5
6 == 1. Prerequisites ==
7
8 * Basic knowledge of the eMagiz platform
9
10 == 2. Key concepts ==
11
12 This microlearning centers around asynchronous error handling for messaging flows in eMagiz.
13 By asynchronous error handling, we mean The process that receives and processes error messages to show to the user in Manage.
14
15 The asynchronous error handling has three relevant parts:
16
17 * All asynchronous queues come with a standard error handling on flow level
18 * The centralized error flow receives and processes these messages
19 * Each error message is sent via the internal eMagiz architecture to display it in Manage
20
21 == 3. Asynchronous Error Handling ==
22
23 Asynchronous error handling plays a vital role in ensuring that messages that do not meet the criteria are correctly displayed in the Manage phase.
24
25 The asynchronous error handling has three relevant parts:
26
27 * All asynchronous queues come with a standard error handling on flow level
28 * The centralized error flow receives and processes these messages
29 * Each error message is sent via the internal eMagiz architecture to display it in Manage
30
31 === 3.1 Error Handling Queues on Flow level ===
32
33 In asynchronous messaging, each flow that starts with a component that reads data from a queue comes with the standard error handling functionality in eMagiz. This error handling is illustrated by eMagiz in the form of a green dot with a red line. This part of the process ensures that each error is directly pushed to our infrastructure for processing.
34
35 [[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-error-handling--standard-configuration-on-flow-level.png]]
36
37 === 3.2 Internal eMagiz Error processing ===
38
39 From here on out, a centralized instance consumes these messages. This instance processes all metadata and error messages coming in from all the projects created within eMagiz. This process ensures to properly store the data in the right place within our architecture. After it is stored, a user can view the information via the Manage phase. In the Manage phase, you will see a Dashboard that shows (on a flow level) all error messages that occurred within a specific time frame. If you want to learn more about this dashboard, please check out this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-manage-determining-origin-of-error-message||target="blank"]].
40
41 These two parts ensure that when you handle your messages asynchronously and the message is placed on the queue, the message will either be successfully delivered to the external system or will end up in Manage as an Error Message.
42
43 == 4. Key takeaways ==
44
45 * All asynchronous queues come with a standard error handling on flow level
46 * The centralized error flow receives and processes these messages
47 * Each error message is sent via the internal eMagiz architecture to display it in Manage
48
49 == 5. Suggested Additional Readings ==
50
51 If you are interested in this topic and want more information, please read the help text provided by eMagiz.
52
53 )))((({{toc/}}))){{/container}}{{/container}}