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

Implementing custom mediation logic

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
Custom mediation primitives allow you to implement your own mediation logic by using Java™ code.

About this task

By default, a custom mediation primitive has an input terminal, an output terminal, and a fail terminal. You can add more input and output terminals to the primitive. The input terminals are wired to accept a message and the output and fail terminals are wired to propagate the message. The input message is passed as an input parameter to the Java code. The code is responsible for propagating the output message to the output terminal. If an exception is encountered while executing the Java code, the original message is propagated to the fail terminal, together with any exception information.