Last modified by Martijn Woudstra on 2024/01/11 16:43

From version 43.1
edited by Martijn Woudstra
on 2024/01/11 16:43
Change comment: Imported from XAR
To version 41.1
edited by Martijn Woudstra
on 2022/06/13 14:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,5 @@
1 1  {{container}}{{container layoutStyle="columns"}}(((
2 -= Migration Path - Error handling synchronous flows =
2 += Migration Path * Error handling synchronous flows =
3 3  
4 4  To correctly manage an eMagiz project, you need robust and stable error handling. This error handling process was the same for both asynchronous and synchronous flows. In this process, all errors thrown by a flow would be routed via the asynchronous error process each eMagiz project has. For synchronous flows, this meant that apart from the actual error, each step in the process that did not receive a message within the set timeframe would subsequently throw a timeout error.
5 5  This process had three disadvantages
... ... @@ -9,8 +9,11 @@
9 9  * Any synchronous error could lead to up to five separate error messages making it more confusing and difficult to analyze what was going wrong properly
10 10   Based on this consideration, errors are handled in a synchronous flow have changed. See below for the old way, the new way, and how to migrate to the new method.
11 11  
12 -Should you have any questions, please get in touch with academy@emagiz.com.\
12 +Should you have any questions, please get in touch with academy@emagiz.com.
13 13  
14 +* Last update: March 1st, 2022
15 +* Required reading time: 6 minutes
16 +
14 14  == 1. Prerequisites ==
15 15  
16 16  * Advanced knowledge of the eMagiz platform
... ... @@ -71,7 +71,7 @@
71 71  13. Add a JMS outbound channel adapter and send the messages to the eMagiz error flow of your project. This way, the message will appear in the Error messages overview of eMagiz, but all timeout errors won’t show up anymore.
72 72  14. Test your changes
73 73  
74 -* If possible, test your flowing by using the Unit Test functionality. For more information see [[User Guide Flow testing>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-configuring-flow-test||target="blank"]]
77 +* If possible, test your flowing by using the Unit Test functionality. For more information see [[User Guide Unit testing>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-configuring-flow-test.WebHome||target="blank"]]
75 75  * Otherwise, test it by deploying the flow and sending a message.
76 76  
77 77  15. Verify your results