# Create case

> Activity for creating a Bonitasoft case (process instance) and retrieving its reference ID.

`UiPath.Bonitasoft.Activities.CreateCase`

This activity creates a case (a running instance of a process) and outputs its reference ID, which may be used in the **Execute User Task** activity.

When used within a connected Bonita Scope, all processes available in your Bonita portal are displayed. Once selected, a process's contract (or required inputs) is auto-filled in JSON format as well.

![docs image](https://dev-assets.cms.uipath.com/assets/images/marketplace/marketplace-docs-image-34283-e3457ed0-07325df6.gif)

Notice how the variables in the contract above (*Summary*, *Label*, and *Cost*) correspond to those shown in the Bonita portal when running a Process.

![docs image](https://dev-assets.cms.uipath.com/assets/images/marketplace/marketplace-docs-image-36344-cf184c5c-5a373a11.webp)

## Properties

### Input

* **Process** (`String`) - The process to start.
* **Contract** (`String`) - Input variables (as JSON) that are required by the process.

### Misc

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

### Output

* **CaseId** (`String`) - The ID of the created case.
