---
title: "Execute actions for a case definition"
method: PUT
path: "/cmmn-repository/case-definitions/{caseDefinitionId}"
tags: ["Case Definitions"]
---

# Execute actions for a case definition

`PUT /cmmn-repository/case-definitions/{caseDefinitionId}`

## Request

- Base URL: `https://developer-docs.flowable.com/cmmn-api`
- URL: `https://developer-docs.flowable.com/cmmn-api/cmmn-repository/case-definitions/{caseDefinitionId}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/docs/cmmn-repository/case-definitions/:caseDefinitionId/put.ts> (a function with typed inputs; its response is checked against the schema)

Execute actions for a case definition (Update category)

## Path parameters

- `caseDefinitionId` string, required

## Request body

- CaseDefinitionActionRequest
  - `action` string
  - `category` string

## Response `200`

Indicates action has been executed for the specified process. (category altered)

- CaseDefinitionResponse
  - `id` string
  - `url` string
  - `key` string
  - `version` integer
  - `name` string
  - `description` string
  - `tenantId` string
  - `deploymentId` string
  - `deploymentUrl` string
  - `resource` string: Contains the actual deployed CMMN 1.1 xml.
  - `diagramResource` string: Contains a graphical representation of the case, null when no diagram is available.
  - `category` string
  - `graphicalNotationDefined` boolean: Indicates the case definition contains graphical information (CMMN DI).
  - `startFormDefined` boolean

## Other responses

- `400`: Indicates no category was defined in the request body.
- `404`: Indicates the requested case definition was not found.

---

[API](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/revisions/afdfa1fcacd0?raw)
