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

Creating an implementation for a component

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
The component's implementation provides the business logic for the service.

About this task

The icon in the component indicates its implementation type. If the component's implementation does not exist, there is an exclamation mark in the lower left corner of the component. The following CustomerQuery component does not have an existing business process implementation:

Process component with no implementation

There is no exclamation mark on the component when its implementation exists. The following CustomerQuery component has an existing business process implementation:

Process component with an implementation

To create the implementation for a component, follow these instructions:

Procedure

  1. In the assembly editor, click the component so that it is selected.
  2. Right-click the component and select Generate Implementation to create the implementation. If a new implementation is generated then it will be opened for editing. If there is no implementation type for the component, you have to select a type for this action.

    To use an existing implementation for the component, click Select Implementation and select one of the listed implementations. Note that the listed implementations are located within the same module. Implementations in other modules can be used in the module assembly by creating imports for the published services (exports).

    Note: The Select implementation action does not add or remove component interfaces or partner references so that it does not affect existing wires. However, after using this action, the component's existing interfaces or references might not match what is required by the selected implementation. In this case, there will be errors in the assembly diagram. Try these actions to fix the errors:
    • Use the Synchronize Interfaces and References menu item on the component to synchronize to or from the implementation. See "Synchronizing the interfaces and references between components and implementations" in the related links at the end of this topic.
    • Manually add the required interfaces and references to the component, and remove or change the non-matching ones.
    • Drag the implementation onto the canvas (to create a new component) and then rewire the assembly diagram so that the new component replaces the unimplemented component. Be sure to also copy the name and qualifiers you defined in the original component to the new one. Afterward, you can safely delete the replaced component.
    If interfaces or partner references have been replaced, you may need to add interface maps to rewire.