The difference and usage for the 2 activities under workflow\Invoke

hi @rzhang

Invoke Workflow Activity

Synchronously invokes a specified workflow, optionally passing it a list of input arguments.

Properties
Input
WorkflowFileName
The filepath of the .xaml file to be invoked. This field accepts only string variables. The filepath is relative to the current project folder.

Note: All string variables must be placed between quotes.

Arguments
The parameters that can be passed to the application at startup.

UnSafe
If this check box is selected, the invoked workflow runs in a separate Windows process. This helps with isolating a faulty workflow from the main workflow.

Common
DisplayName
The display name of the activity.

ContinueOnError
Specifies to continue executing the remaining activities even if the current activity failed. Only boolean values (True, False) are supported.

Misc
Private
When selected, the activity generates no log data.

Example Link-

Launch Workflow Intractive

Synchronously invokes a specified workflow, forcing an interactive Windows session, if necessary. Optionally, you can pass it a list of input arguments.

Properties
Input
KeepSessionConnected
If this check box is selected, in case the interactive session is disconnected, an automatic reconnection is attempted. By default, this check box is selected.

LoginToConsole
If this check box is selected, the interactive session connects to the console. Otherwise, it uses remote desktop protocol to connect to the machine. By default, this check box is cleared.

WorkflowFileName
The filepath of the .xaml file to be invoked. This field accepts only string variables. The filepath is relative to the current project folder.

Note: All string variables must be placed between quotes.

Arguments
The parameters that can be passed to the application at startup.

Screen Resolution
Width
The new screen width of the interactive session to be opened. Positive and negative integers are supported.

Height
The new screen height of the interactive session to be opened. Positive and negative integers are supported.

Depth
The color depth of the interactive session to be opened. Standard color depth values compatible with your machine’s graphical capabilities are accepted. For example, 16, 24, 32, 48 etc.

Common
DisplayName
The display name of the activity.

ContinueOnError
Specifies to continue executing the remaining activities even if the current activity failed. Only boolean values (True, False) are supported.

Misc
Private
When selected, the activity generates no log data.

Link Example:

Regards…!!
Akshay

4 Likes