Handle errors and debug a flow
Build a small Hyperflow that parses a request, deliberately break its XML, and compare an unhandled failure with Continue and Retry behavior. The example uses local text only, so you can inspect error handling without sending a message or changing an external system.
The central lesson is that a completed run can still contain a failed action. Check the action logs and downstream output before calling the business operation successful.
What you will build
Start → Object / Convert Xml To Object → String / Assign → Stop
The String action is a visible marker: it proves whether execution reached the next action after XML parsing failed. It does not repair the XML or complete a business request.
parsed_request
Object
Normal output from the XML parser.
parse_error
Object
Error assignment selected for Continue.
route_marker
String
Downstream marker used to demonstrate continuation.
This walkthrough was exercised in Presales on 13 October 2026 using Docs - Error handling - 20261013. Create your own training Hyperflow and use the development version when changing the failure behavior.
1. Establish a working baseline
Create a training Hyperflow and add Object → Convert Xml To Object between Start and Stop.
Select the action to open the Action Control Center.
Select Manual Input and enter the valid XML below.
In Assign value to variable, select or create the Object variable
parsed_request.Leave Error Configuration off for this baseline. Save, then select Run Hyper Flow.
Open the run logs, select the XML action, and inspect Output.
Observed result: the manual run at 10:26:13 completed, the action log showed INFO, and the output inspector showed an Object with a request child. Expand the object in your own run to inspect its fields.

Keep this successful input as your baseline. It separates an input-format problem from an unrelated credential or runtime problem.
2. Reproduce a controlled failure
Replace the manual input with the malformed XML below. The closing
</id>tag is deliberately missing.Keep Error Configuration off.
Save and run the development version again.
Read the failure message and Action Source. Use Go to Action to return to the action that failed.
Observed result: the run reported Execution Failed with Convert Xml To Object as its action source. The diagnostic identified the mismatch: element <id> closed by </request>.

Retrying this same text cannot supply the missing tag. Retry is useful for a condition that can change between attempts, such as a temporary upstream failure. Invalid input needs correction or an explicit failure path.
3. Continue after the error and prove what ran
Keep the malformed XML so the failure is reproducible.
Enable Error Configuration on the XML action.
Select Continue.
In Assign Error To Variable, select or create the Object variable
parse_error.Add String → Assign immediately after the XML action. Set its text to
CONTINUED_AFTER_PARSE_ERRORand assign it to the String variableroute_marker.Save and run. Open View All Logs, then inspect the String action's Output.

Observed result at 10:30:29: the run summary displayed Completed successfully!, while also reporting an error in the XML operation. All Logs contained an ERROR for Object - Convert Xml To Object, followed by INFO for String - Assign. The String output was exactly CONTINUED_AFTER_PARSE_ERROR.


This proves continuation, not a successful parse. Later actions must not assume parsed_request contains valid current-run data after that action fails. In a real service, route the error to an appropriate response or recovery step before using data that depended on the failed action.
The UI shows an example error object beside the assignment field. Inspect the actual captured value in your own run before binding its fields; this walkthrough does not establish a universal error-object schema for every action.
4. Configure Retry and its final outcome
Error Configuration first offers Continue or Retry. In the current editor, the retry controls are nested as follows:

The initial editor values observed were “N” Times = 1 and Delay = 5000 ms. Set these deliberately for your service. The field names alone do not establish whether N means additional retries or total attempts; verify the actual attempt sequence for your runtime before using it in an SLA calculation.
Continue & Assign captures the remaining error and permits continuation. Stop & Response exposes response settings. Run Error Handling Hyper Flow is a separate checkbox under the persistent-error controls, rather than a third parallel top-level strategy. If you use it, test which flow is called, what context it receives, and the final outcome after it returns.
5. Stop and return a clear failure
Keep the malformed XML and downstream String marker.
Select Retry, set “N” Times to
1, and set Delay to1000ms for this short training test.Leave Run Error Handling Hyper Flow unselected.
Select Stop & Response.
Set Response Status Code to
422and Error Message toInvalid request XML. Correct the request and try again.Leave Response Headers off and Body Response Type as No Data for this example.
Save and run. Inspect whether the XML error remains, whether the String marker runs, and how the final failure is displayed.

The editor explains that status codes of 400 or higher mark the Hyperflow as failed. Response Headers apply when the Hyperflow is triggered through an API. A manual run can show the failure behavior; it does not prove the exact HTTP response seen by an external caller. Validate that separately when exposing the Hyperflow through an API.
Observed result at 10:32:43–10:32:44: the run ended with Execution Failed and a 422 error code. Logs recorded two ERROR entries for the XML action and no execution of the downstream String marker. For this test, N = 1 produced an initial attempt and one retry; the elapsed time was 1.03 seconds with the configured 1000 ms delay. This is an observation of this action and runtime, not a timing guarantee for every integration.


6. Add a separate error-handling Hyperflow
Use a separate error-handling branch when failure handling needs its own sequence. This exercise adds a local marker so you can prove that the branch ran without sending a notification or changing an external record.
In the XML action's Retry settings, keep Stop & Response, status
422and the training message from step 5.Select Run Error Handling Hyper Flow and choose Create Error Handling Hyper Flow.
In Add Tab, enter
Handle invalid requestand select the required color.In the new error-handling tab, add String → Assign between its Start and Stop. Assign
ERROR_BRANCH_EXECUTEDto the String variableroute_marker.Return to Main Hyper Flow and select the XML action. Confirm that Show Error Handling Hyper Flow is available, then save.
Run the same malformed-XML test. Open All Logs and use the failed action's E icon, Open error handling logs, to inspect the error-handling branch.
Open the branch's String action and inspect Output.


Observed result at 10:36:24–10:36:25: the main flow still ended with 422. Its logs showed the failed XML attempt, Trying again, retry number 1, a second XML error and retry ended. Autom is stopped. The error-handling logs separately showed String - Assign with INFO and output ERROR_BRANCH_EXECUTED.

The handler executed successfully, but it did not turn the parent's chosen failure outcome into success or run the main flow's downstream continuation marker. This is useful when recording a failure or preparing a controlled response while preserving a clear failed result. Verify any context bindings and external side effects separately before expanding the handler.
7. Fix the input and rerun
Restore the valid XML from step 1. Save, rerun the same development version, and check the XML action's Object output and the run logs. Record the corrected result alongside the failing run before promoting a version used by others.
Choose marker text appropriate to the path being tested; CONTINUED_AFTER_PARSE_ERROR is a training label and should not become a business success message.
Read the evidence at three levels
Run
Status, time, version and trigger
Whether that execution ended, failed or continued.
Action
ERROR/INFO entry, input, output and source action
Which step failed and whether a later step ran.
Business result
The intended external record or state
Whether the service actually achieved its outcome.
Use Open Action in Hyper Flow from a log detail to inspect the action configuration. Compare the version and input of the failing run with a known successful run. Change one relevant setting at a time so the next result is interpretable.
Adapt the pattern to a real service
Use Continue only when the following actions can handle the missing or failed result.
Use bounded retry for transient failures, with a final failure outcome. Check for duplicate effects before retrying an action that creates or updates an external record.
Keep request identifiers and useful diagnostics in logs. Exclude credentials and unnecessary personal data from screenshots and support examples.
Test the success path, the controlled failure path, and the final outcome after retry separately.
Continue with Monitor runs and inspect logs, the failed 401 request example, or Build a Hyperflow.
Last updated
Was this helpful?

