Reference: Log-Error Component Properties
Common Tab
Property | XML Attribute Name | Description |
|---|---|---|
Error Handler ID
| id
| The unique ID of the log-error component within the
assembly. |
Rethrow Error
| rethrow-error
| Specifies whether the log-error component passes
the error back to any upstream error handlers when it has completed
processing. The default value is false , meaning that
the log-error component processes the error alone,
then marks it as having been handled.You can also mark errors as having
been handled by calling the setErrorHandled method on
the MediationContext object. Example:
mediationContext.setErrorHandled(true) . |
Level
| level
| The Log4J logging level. There are 5 options:
|
Advanced Tab
Property | XML Attribute Name | Description |
|---|---|---|
Category
| category
| Specifies part of the Log4J logger name. The default value is
DEFAULT . |
Expressions Tab
Property | XML Attribute Name | Description |
|---|---|---|
Condition Expression
| condition-expression
| Enables you to enter MVEL condition expressions directly. If all the
expressions evaluate to true , or if you don't provide
an expression, the error handler is invoked. Otherwise, the error
handler isn't invoked, error handling continues along the processing
chain, and Workday adds an Audit Log entry of
type ERROR_HANDLER_SKIPPED .To add a new
expression below any existing rows, click Add ,
then enter the expression.To add a new expression above an
existing row, place the cursor in that row, then click
Insert on the Add
drop-down menu.Use the buttons to the right of the
Expressions tab to delete rows or reorder
them. |