In the Creating custom functions recipe in Chapter 3, Data Services Basics – Data Types, Scripting Language, and Functions, we created a custom function showing an example of the
try-catch block exception handling in the scripting language. Like in the case of
while loop, Data Services has a variation of the
try-catch construction for the workflow/dataflow object level as well. You can put the sequence of the executable objects (workflows/dataflows) between
Catch objects and then catch potential errors in the
Catch object where you can put scripts, dataflows, or workflows that you want to run to handle the caught errors.
The steps to deploy and enable the exception handling ...