Invoke is a package that enables a user to invoke a method/ a constructor and the workflows that are required for processing.

InvokeMethod

When to use the InvokeMethod activity

This activity helps you invoke a specified method that is required for the process.

Figure 1

Activity Name

Picture

InvokeMethod

a                   

Technical Reference

Figure 1.1

1.0 

S.no

Description

1

Displays the action that the activity performs in the workflow

2

Specify the type arguments, if any

3

Specify the method name that is being invoked

4

Specify the parameters required for the method

5

Specify the variable that returns as a message, if any error occurs

6

Enables you to execute the method asynchronously

7

Specify the declared namespace of the method invoked

8

Specify the target type based on the outcome of the method

t  Target Object Specify the target object declared for the method.
              
TargetType   Selection is to be made, based on the output that is yielded from the method.
             
Parameters   Specify the parameters (input and output) that are required in processing the method.

a Activity: The InvokeMethod is used to invoke a method or a constructor represented by the instance by specifying the required parameters.

Figure 1.2

1.1