# Create Labeling Task

> `UiPath.MLServices.Activities.MLDataLabelling`

`UiPath.MLServices.Activities.MLDataLabelling`

## Description

:::note
This activity requires Studio 2022.4 or higher to function properly.
:::

This activity uses the same principles of connecting to your **UiPath® AI Center**™ tenant as the [ML Skill](https://docs.uipath.com/activities/other/latest/document-understanding/ml-skills) activity. Once the connection is established you can select in which project and data labeling session you want to send the data back.

## Project compatibility

**Windows-Legacy | Windows**

## Configuration

#### Designer panel

* **Project** - Retrieves the list of available projects and allows you to select the project to which you want to send data.
* **Data labelling session** - Retrieves the list of data labeling sessions in the selected project and allows you to select the session to which you want to send data.
* **File** - The local path of the file you want to send.

#### 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. This field supports only `String` variables.

**Input**
* **LocalFilePath** - The full path of the local file that you want to upload to the storage. This field supports only `String` variables.
* **OrchestratorFolderName** - The [path to an Orchestrator Folder](https://docs.uipath.com/orchestrator/docs/managing-folders#section-folder-path) different to the one the current process operates in, where you want to create the task. For more information about Orchestrator Folders, visit [Folders](https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/folders). For **Classic** folders, this property can only be used with **Floating Robots** and only if the current user has the correct task privilege in the target folder. For **Modern** folders, **folder path overriding is not supported**. This field supports only strings and `String` variables.
  :::note
  This property must be used **only** if the task must be created or queried from a folder different than the current one. If the user performing this action does not have the required permission for the target folder, task creation fails and throws a critical error. Visit [Folder permissions](https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/folders#folder-permissions) for more information on folder permissions.
  :::

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

**Output**
* **FileName** - The file name that was used to save the file in storage, stored in a `String` variable. This field supports only strings and String variables.
* **Headers** - The headers returned by the request.
* **StatusCode** - The Status Code returned by the request, stored in an `Int32` variable. This field supports only `Int32` variables.
* **TaskObject** - The task object that is returned from Orchestrator as a `OrchestratorTaskCreate` object after the task is created. The `ID` and `folderPath` fields from **TaskObject** can be used to create an **ExternalTaskObject**, which can then be used as an input to the **Wait for External Task and Resume** activity.
