Chuyển tới nội dung chính

Invoke Workflow File

RCA.Activities.Core.InvokeWorkflowFile

Description​

With this activity, you can synchronously invoke VB.NET or C# code, optionally passing it a list of input arguments. Arguments can be imported from a specified workflow with this activity by using the Import Arguments button in the body of the activity.

invoke-wf.png

(* for Mandatory)

In the body of activity​

  • Workflow Path (String)* - The file path of the .xaml file to be invoked.
    E.g: “C:\Users\Admin\Documents\akaBot\Invokefile.xaml”
  • Edit Arguments (Button) – Click here to add and edit different types of arguments.
  • Import Arguments (Button) - You can import more arguments in this field

Properties​

Common

  • Continue On Error (Boolean)- This property specifies when the automation keeps going if it has an error. Only have two possible values: True or False.

    True - allows the rest of the process to continue the execution even an error occurs within the activity.

    False (default) - blocks the process from continuing the execution.

Input

  • Arguments (String)- The parameters that can be passed to the code that is invoked
  • Workflow File Name (String)* - The file path of the .xaml file to be invoked.
    E.g: “C:\Users\Admin\Documents\akaBot\Invokefile.xaml”

Misc

  • Public (Checkbox) - If you check it, the data of this activity will be shown in the log. Be careful, consider data security before using it.
  • Display Name (String)- The name of this activity. You can edit the name of the activity to organize and structure your code better.
    E.g: [663505729] Invoke Workflow File

Options

  • Workflow Timeout (TimeSpan) - The amount of time to wait for the activity to run before an error is thrown.
    E.g: 00:00:05