The COM-Object Action executes the Run method of a COM object, with the specified program id. This action calls the Run method of the COM object. The program id and parameters are fetched from the properties of the action. The string value returned from the Run method of the COM object is assigned to the Output parameter. This value specifies the state of execution of the action. The execution of the COM-Object Action gives the return values set for this action, which will be used for conditional routing.
The Properties to be set for the COM-Object and the function of the properties are explained in the table below.
|
Property |
Description |
|
Name |
The name of the COM object to be executed. |
|
Description |
A description of the COM object to be executed. |
|
ProgID |
The Program ID of the COM object to be executed. |
|
This is the input parameter for the Run method of the COM object. |
|
|
This property is used to specify return values for the COM object. |
|
Property settings for COM-Object |
To add the COM-Object action to the workflow, click on the button for COM-Object in the Toolbox area. An icon for COM-Object is added automatically in the Design Area. Link this action appropriately with the workflow. To set the properties for notification click on the COM-Object icon. A list of properties for the COM-Object action will be displayed in the Properties pane. Enter an appropriate name and description for the COM object and set all the properties. |
![]() |
To specify the parameter, click on the button for the 'Parameter' property. A window pops up (Fig 2.), in which the parameter can be specified. Select a type of value (Value, Variable, Content), corresponding value for the property and click the Append button. After specifying the parameter click the Update button. |
![]() |
To specify the return value, click on the button for the 'Return Values' property. A window pops up (Fig 3.), in which the return value(s) can be specified. Click the Remove selected button to clear earlier values. Enter the return value in the Return Value field. Click the New row button to add additional rows of return values. After specifying the return value, click the Update button. |
![]() |