Sending Faults to the Invoker

The Send Fault task sends a fault message back to the original process that invoked the mediation operation.

You can configure the Send Fault task to specify what fault message to send:
  • One of the fault messages declared on the mediation operation
  • The UndeclaredFault message

Procedure

  1. In the Send Fault task select General > Fault to Send.
  2. Specify the fault message to return.
  3. Once you specify the fault message to return, place a Transform task on the fault path to convert the message sent by the Catch Fault task to the format of the fault message you are returning.

Result

The message panel of the Transform task on a fault path is labeled Mediation Fault Message, and the schema of the fault message matches the schema of the message specified in the Send Fault task on the path.