Changes for page Error handling synchronous flows
Last modified by Martijn Woudstra on 2024/01/11 16:43
From version 41.1
edited by Martijn Woudstra
on 2022/06/13 14:48
on 2022/06/13 14:48
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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,11 +9,8 @@ 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 - 17 17 == 1. Prerequisites == 18 18 19 19 * Advanced knowledge of the eMagiz platform ... ... @@ -74,7 +74,7 @@ 74 74 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. 75 75 14. Test your changes 76 76 77 -* If possible, test your flowing by using the Unit Test functionality. For more information see [[User Guide Unittesting>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-configuring-flow-test.WebHome||target="blank"]]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"]] 78 78 * Otherwise, test it by deploying the flow and sending a message. 79 79 80 80 15. Verify your results