UiPath Activities

The UiPath Activities Guide

Wait For External Task and Resume

UiPath.Persistence.Activites.ExternalTask.WaitForExternalTaskAndResume

Can be used to suspend the execution of the current workflow until a specified Task is completed. To designate a Task, a ExternalTaskData object obtained from the Create External Task activity must be supplied. Upon completion of the Task, the execution of the workflow is resumed.

Properties

Common

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

  • DisplayName - The display name of the activity.
  • StatusMessage - The message specified in this property field is displayed in Orchestrator alongside the workflow that is suspended by this activity. This field supports only strings and String variables.
  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).

Input

  • TaskObject(Input) - The Task you want to suspend, stored in a ExternalTaskData variable. This variable can be obtained from a Create External Task activity, This field supports only ExternalTaskData variables.

Misc

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

Output

  • TaskAction - The action taken by the user to complete the Task.
  • TaskObject(Output) - The updated Task object obtained from Orchestrator after the execution of this activity.

In the Body of the Activity

Some properties can be configured straight from the body of the activity itself, for easier handling, such as:

  • Task Object (Input)
  • Task Action
  • Task Object (Output)

Updated 2 months ago


Wait For External Task and Resume


Suggested Edits are limited on API Reference Pages

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