-
Notifications
You must be signed in to change notification settings - Fork 446
DataWeaveErrorRecipes
pozil edited this page Feb 13, 2024
·
1 revision
Demonstrates how to handle DataWeave script errors in Apex.
Group DataWeaveInApex Recipes
Runs a DataWeave script that triggers a runtime error on pupose. Uses the dw/error.dwl
DataWeave script.
Attempts to output records as Excel. This always results in an error as the Excel format is not supported in DataWeave in Apex. Uses the dw/excelOutputError.dwl
DataWeave script.
Param | Description |
---|---|
contacts |
list of contacts |
Type | Description |
---|---|
DataWeave |
DataWeave script result (never used as a DataWeaveScriptException is thrown) |