ExceptionSetHandler
Sets the type of exception handling to use during a batch processing failure.
Member of namespace
ConvertSyntax
bool ExceptionSetHandler(int handler)
Parameters
- handler
- Type: integer
- The type of exception handler.
Parameters
- 0: Abort the batch (Default).
- 1: Increment a variable in the runtime hierarchy, do not abort the batch.
- 2: Raise a task condition, do not abort the batch.
Returns
True, if a valid parameter is specified. Otherwise, False.Level
Any level.Details
Use this action to change or reset the abort behavior that is caused by conversion failures. Avoiding aborts can be useful when an external workflow process is already in place.- Example:
ExceptionSetHandler(0)