# Add Task Comment

> `UiPath.Persistence.Activities.FormTask.AddTaskComment`

`UiPath.Persistence.Activities.FormTask.AddTaskComment`

## Description

Instructs the robot to add a comment on an existing Action, indicated by their ID.

## Project compatibility

**Windows - Legacy** | **Windows** | **Cross-platform**

:::important
The **Add Task Comment** activity is available starting with **v1.3.0** of the Uipath.Persistence.Activities package.
:::

## Windows, Windows - Legacy configuration

### Designer panel

* **TaskId**(Int32) - The unique identifier of the existing Action.
* **Comment** (String) - Write the comment for the Action. The comment is displayed in the **Action summary** and **Comments** panels.

### Properties panel

#### Common
* **ContinueOnError** (Boolean) - Specify if the automation should continue even when the activity throws an error. The default value is `False`. As a result, if the field is blank and an error is thrown, the execution of the workflow 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**(String) - The display name of the activity.
* **TimeoutMS** (Int32) - Specify 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
* **Comment** (String) - Write the comment for the Action. The comment is displayed in the **Action summary** and **Comments** panels.
* **Orchestrator Folder Path** (String) - The path to the Orchestrator Folder you want to use with this activity. If left empty, the current Orchestrator folder is used. This field supports strings and `String` variables only.

**Note**: If the user performing this action does not have the required permissions for the target folder, the comment addition fails and throws a critical error. View more info on [Folder Permissions](https://docs.uipath.com/orchestrator/docs/about-folders#section-roles-and-permissions-for-folders).
* **TaskId**(Int32)—The unique identifier of the existing Action.

**Warning**: Make sure you are in the same Orchestrator folder as the process that generated the Action.

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

## Cross-platform configuration

* **TaskId**(Int32) - The unique identifier of the existing Action.
* **Comment** (String) - Write the comment for the Action. The comment is displayed in the **Action summary** and **Comments** panels.

### Advanced options

#### Common
* **ContinueOnError** (Boolean) - Specify if the automation should continue even when the activity throws an error. The default value is `False`. As a result, if the field is blank and an error is thrown, the execution of the workflow 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.
:::

* **TimeoutMS** (Int32) - Specify 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
* **Orchestrator Folder Path** (String) - The path to the Orchestrator Folder you want to use with this activity. If left empty, the current Orchestrator folder is used. This field supports strings and `String` variables only.

**Note**: If the user performing this action does not have the required permissions for the target folder, the comment addition fails and throws a critical error. View more info on [Folder Permissions](https://docs.uipath.com/orchestrator/docs/about-folders#section-roles-and-permissions-for-folders).
