Generating a native invocation file for an internal procedure or user-defined function, creates a total of three invocation files: one to run the external procedure persistently, one to invoke the internal procedure, and one to delete the persistent procedure and unbind the OpenEdge Application Server from the process. All three invocation files must be imported into your ESB process in order.
The following figure shows the three invocation files in a sample process.
Figure 4. Internal procedure invocation
Calling the external procedure creates a proc-id parameter that is mapped throughout the process.