This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

Retrying a different service

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
Occurs if alternate services are available to receive the retry. Only available through the Service Invoke primitive.

Before you begin

Retrying a different service once a fault response is received is done by wiring the fault terminal(s) of the Service Invoke primitive to other primitives. A sample of this is shown in the figure below.
Sample wiring diagram
As can be seen from the diagram:
  1. The primitive ServiceInvoke1 is used to invoke a service.
  2. Its output terminal is wired through an optional Mapping primitive, XSLT1, to transform the response into the form needed for the next primitive.
  3. The fault terminal is wired through XSLT2, which is again optional, to the input of a second Service Invoke primitive, ServiceInvoke2. When the initial invocation receives a fault response, the message will be propagated to this second Service Invoke primitive.
  4. The output terminal of ServiceInvoke2 is wired through an optional transform, XSLT3, to the next primitive, while its fault terminal is wired to a fail primitive which halts the mediation flow.