When the Integration Service runs the session in a workflow, it performs the following functions:
Uses the COM runtime facilities to load the DLL and create an instance of the class.
Uses the COM IDispatch interface to call the external procedure you defined once for every row that passes through the mapping.
Multiple classes, each with multiple methods, can be defined within a single project. Each of these methods can be invoked as an external procedure.
To run a workflow to test the mapping:
In the Workflow Manager, create the session s_Test_BSFV from the Test_BSFV mapping.
Create a workflow that contains the session s_Test_BSFV.
Run the workflow. The Integration Service searches the registry for the entry for the COM_VC_BankSoft.BSoftFin class. This entry has information that allows the Integration Service to determine the location of the DLL that contains that class. The Integration Service loads the DLL, creates an instance of the class, and invokes the FV function for every row in the source table.
When the workflow finishes, the FVOutputs table should contain the following results: