---
title: "Validate case instance migration"
method: POST
path: "/cmmn-runtime/case-instances/{caseInstanceId}/validate-migration"
tags: ["Case Instances"]
---

# Validate case instance migration

`POST /cmmn-runtime/case-instances/{caseInstanceId}/validate-migration`

## Request

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

## Path parameters

- `caseInstanceId` string, required

## Request body

- string

## Response `200`

Indicates the case instance was found and migration was executed.

- CaseInstanceMigrationValidationResponse
  - `validationMessages` string[]

## Other responses

- `404`: Indicates the requested case instance was not found.
- `409`: Indicates the requested case instance action cannot be executed since the case instance is already activated/suspended.

---

[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)
