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
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. This action can be called from any level and subsequent Convert library actions will use this setting. Subsequent actions can be on different rules or rulesets, but must be within the same task profile.- Example:
-
ExceptionSetHandler(0)