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

Runtime behavior of the Endpoint Lookup primitive

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
A summary of the resulting endpoint invoked by the message flow, depending on various conditions, when an Endpoint Lookup primitive is used:
Table 1. Endpoint Lookup primitive behavior based on various conditions
Match policy Match found EndpointLookup context updated output terminal URI placed in /headers/SMOHeader/Target/address Result
Retrieve one matching endpoint Yes Yes Output by endpoint lookup primitive If the "Use dynamic endpoint" property is enabled, the URI in the target address element is invoked.
Retrieve one matching endpoint No No No Match No Invoke the flow that is wired to the No Match terminal
Retrieve all matching endpoints Yes Yes Output by another primitive such as MessageElementSetter or Custom Mediation If the "Use dynamic endpoint" property is enabled, the URI in the target address element is invoked.
Retrieve all matching endpoints Yes Yes Output not found If an import is wired to the callout's reference, the service specified in the import will be invoked statically. Otherwise, a runtime error will occur.
Retrieve all matching endpoints No No No Match No Invoke the flow that is wired to the No Match terminal