# Execute user task

> `UiPath.Bonitasoft.Activities.ExecuteUserTask`

`UiPath.Bonitasoft.Activities.ExecuteUserTask`

This activity assigns a user to and executes a task within an active case.

When used within a connected Bonita Scope, all users and processes available in your Bonita portal are displayed. Select a process to display all of its running cases:

![docs image](https://dev-assets.cms.uipath.com/assets/images/marketplace/marketplace-docs-image-34707-7b78b071-d8485ab2.gif)

Select a case to display all of its contained tasks and their contracts.

![docs image](https://dev-assets.cms.uipath.com/assets/images/marketplace/marketplace-docs-image-36065-9a7e5f39-d236fe49.gif)

Notice how the values in the task contract above correspond to the required fields in the task's form within the Bonita portal (the *Comment* field and *Approve/Reject* buttons).

![docs image](https://dev-assets.cms.uipath.com/assets/images/marketplace/marketplace-docs-image-34883-66e17429-f5f62778.webp)

## Properties

### Input

* **User** (`String`) - The user to whom the task is assigned.
* **Process** (`String`) - The process containing the targeted case.
* **Case** (`String`) - The ID of the running case.
* **Task** (`String`) - The task, within the above case, to execute.
* **Contract** (`String`) - Input variables (as JSON) that are required by the task.

### Misc

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