UiPath Activities

The UiPath Activities Guide

Invoke Com Method

UiPath.Core.Activities.InvokeComMethod

Invokes a method of a specified COM object.

Properties

Target

  • MethodName - The name of the method you want to invoke.
  • ProgID - The progId of the object type of the method you want to invoke.
  • CLSID - Class ID of the COM object.
  • BindingFlags - Specifies flags that control binding and the way in which the search for members and types is conducted by reflection.
  • Arguments - A collection of arguments for the method to be invoked.

Common

  • DisplayName - The display name of the activity.
  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

Note:

If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.

Output

  • Result - Represents the result of the invoked method.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Updated 3 months ago


Invoke Com Method


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.