The Call COM ObjectClosed The Call COM Object tool is used to create a task step that calls third party COM Objects to provide integration with other systems, protocols, or applications. The COM Object may be provided by a COM Server (.EXE) or COM .DLL, written in languages such as Microsoft Visual Basic or C++, or others supporting COM and DCOM. Using this step, BPA Platform can call an object and pass either static or dynamic parameters to the object in the method call. tool does not require a global connection to a COM object before being added to a task.

To add a new Call COM Object step to an existing task:

  1. Open the relevant task (if creating a new task, see How to Create a Basic Task).
  2. Either:
Click and drag the Call COM Object icon from the Task Browser to the task Design area.

–OR–

From the task's Design tab, right-click on empty space and select New > Execute > Call COM Object.
  1. Enter a Name and Description for the step.
  2. If required, choose the data to be passed:
    1. If passing a previous step's recordset, select Use a recordset then choose the recordset from the Input Recordset drop-down.
    2. If passing a document, select Read documents from a source then choose the document from the Document Source drop-down.
  3. If using a column from an Input Step, select the Use a recordset options and then select a recordset from the Input Recordset drop down list.
  4. If using a document from a previous step, select the Read documents from a source option and then select a document from the Document Source drop down list.
  5. Select the Main tab.
  6. Click Browse to select an object and method to call through the Object Browser interface.
  7. A table of available parameters for the chosen method is displayed. The value for each parameter can be edited, or a column, property, or variable containing the required parameter value dragged and dropped from the Task Browser interface.
  8. (Optional) Select Memory to define a Repository to memorise some or all of the recordset used by this step in the Memory Definitions interface.
  9. Select the Options tab and choose the error options required.
  10. Click  to save the task step.