activities
latest
false
UiPath logo, featuring letters U and I in white
Workflow Activities
Last updated Nov 18, 2024

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.
  • Properties

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.