# Stop Recipe

> `UiPath.Workato.Activities.StopRecipe`

`UiPath.Workato.Activities.StopRecipe`

The **Stop Recipe** activity uses the Workato [Stop recipe](https://docs.workato.com/workato-api/recipes.html#stop-recipe) API, to stop a specific recipe (**RecipeID**) that belongs to the user specified in the [Workato Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/workato-scope) activity.

## How it works

The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

1. Complete the [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/workato-setup) steps.
2. Add the [Workato Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/workato-scope) activity to your project.
3. Add the **Stop Recipe** activity inside the **Workato Scope** activity.
4. Create and enter a `String` or `String` variable for the **Recipe Id** property.
5. Create and enter a `ResponseStatus` variable for the [Output](https://docs.uipath.com/activities/other/latest/legacy-integrations/successfactors-get-record) property.

## In the Body of the Activity

* **Find** - You can search for and find a **Recipe** at design time by clicking on the **Find** button, which invokes a dialog where you can search for and find a specific recipe.
* **RecipeID** - The ID of the recipe that you want to retrieve the details from. Enter a `String` or `String` variable.

## Properties

### Common

* **DisplayName** - The display name of the activity. This field supports only `Strings` or `String` variables.

### Misc

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

### Output

* **ResponseStatus** - The status of the request (success/failure information). Enter a `ResponseStatus` variable (*UiPath.BAF.Models.ResponseStatus*). The `ResponseStatus` object includes three properties that you can use in other activities.
  + **Success** - `Boolean` - Specifies whether the API request was successful.
  + **ErrorCode** - `String` - The response error if the API request is unsuccessful (**Success**=*False*).
  + **Message** - `String` - The error message.
