action-center
2022.4
false
- Release Notes
- Before you begin
- Getting Started
- Installation and upgrade
- Activities
- Designing long-running workflows
- Start Job And Get Reference
- Wait for Job and Resume
- Add Queue Item And Get Reference
- Wait For Queue Item And Resume
- Create Form Task
- Wait for Form Task and Resume
- Resume After Delay
- Assign Tasks
- Create External Task
- Wait For External Task and Resume
- Complete Task
- Forward Task
- Get Form Tasks
- Get Task Data
- Add Task Comment
- Update Task Labels
- Actions
- Processes
- Troubleshooting
Wait for Form Task and Resume
![](https://docs.uipath.com/_next/static/media/grid.05ebd128.png?w=3840&%3Bq=100)
Action Center
Last updated May 21, 2024
Wait for Form Task and Resume
UiPath.Persistence.Activities.FormTask.WaitForFormTaskAndResume
Suspends the execution of the current workflow until a specified Action is completed. To designate an Action, a
FormTaskData
object retrieved from the Create Form Task activity must be supplied. When the Action is completed, the execution of the workflow is resumed.
Warning: When a
SecureString
variable is mapped back into the workflow, its value will be cleared, because SecureString
variables are not serializable by design, in the .NET framework. Any SecureString
variables will need to be reassigned.
Designer panel
- TaskObject(Input) - The Action you want to suspend, stored in a
FormTaskData
variable. This variable can be obtained from a Create Form Task activity, This field supportsFormTaskData
variables only. - 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.
Properties panel
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 strings and
String
variables only. - 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(Output)
- The Action you want to suspend, stored in a
FormTaskData
variable. This variable can be obtained from a Create Form Task activity, This field supportsFormTaskData
variables only.
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.
- TaskObject(Input) - The Action you want to suspend, stored in a
FormTaskData
variable. This variable can be obtained from a Create Form Task activity, This field supportsFormTaskData
variables only. - 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.
Advanced options
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.
- StatusMessage - The message specified in this property field is displayed in Orchestrator alongside the workflow that is suspended by this
activity. This field supports strings and
String
variables only. - 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).