# Create Labeling Task

> CreateLabelingTask activity that creates a labeling task in Action Center by uploading a file to an AI Center data labeling session and creating a corresponding task in Orchestrator.

`UiPath.MLServices.Activities.MLDataLabelling`

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

## Description

Creates a labeling task in Action Center. This activity connects to your AI Center tenant, uploads a file to a selected data labeling session, and creates a corresponding task in Orchestrator. A human operator can then complete the task through Action Center.

Use the `ID` and `folderPath` fields from the returned **TaskObject** output to create an **ExternalTaskObject** for the [Wait For External Task And Resume](https://docs.uipath.com/action-center/automation-cloud/latest/user-guide/wait-for-external-task-and-resume) activity.

## Project compatibility

**Windows - Legacy** | **Windows**

## Configuration

### Designer panel

- **Project** - Retrieves available projects and lets you select the project to which you want to send data.
- **Data labeling session** - Retrieves available data labeling sessions in the selected project and lets you 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. Accepts Boolean values (True, False). The default value is False.
- **DisplayName** - The display name of the activity.

**Input**

- **LocalFilePath** - The full path of the local file to upload. Accepts only `String` variables.
- **OrchestratorFolderName** - The path to an Orchestrator folder different from the one the current process operates in, where you want to create the task. If the current user does not have the required permissions for the target folder, task creation fails.

**Misc**

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

**Output**

- **FileName** - The file name used to save the file in storage. Stored in a `String` variable.
- **Headers** - The headers returned by the request.
- **StatusCode** - The status code returned by the request. Stored in an `Int32` variable.
- **TaskObject** - The task object returned from Orchestrator as an `OrchestratorTaskCreate` object. Use the `ID` and `folderPath` fields to create an **ExternalTaskObject** for the Wait For External Task And Resume activity.
