No matching process definition with key: {} and tenant-id:{}

Using POST http://localhost:8080/engine-rest/process-definition/key/Process_B_PerProject/tenant-id/1/start i get a 404 with

{
“type”: “RestException”,
“message”: “No matching process definition with key: Process_B_PerProject and tenant-id: 1”
}

however using just the post without the tenant works ok. eg. POST http://localhost:8080/engine-rest/process-definition/key/Process_B_PerProject/start

I have a list of tenants including the one I posted “1”.

@BPMN you need to deploy the BPMN file for the specific tenant, then only you can start by tenant id.

I’m using tenants due to having multiple companies - they all use the same processes but need to interact but not see the other companies etc. Does this mean I have to deploy the tenant to each company and update each one every time?

Also, I’m new to tenants - how is this done - currently using eclipse Mavern install to deploy

Please see https://docs.camunda.org/manual/latest/user-guide/process-engine/multi-tenancy/