Our process definition has a business rule task.
The deployment descriptor(processes.xml) has the tenant set as “Tenant1”
In the BPMN we’re assigning camunda:decisionRefTenantId=“Tenant1”, and the process works fine.
However while running the unit tests(using Camunda Assert and JUnit), we’re running into the following error: Exception while closing command context: no decision definition deployed with key ‘DMN_Key’ and tenant-id ‘Tenant1’: decisionDefinition is null
Our DMN with id “DMN_Key” has no tenant id assigned to it.
When we remove the camunda:decisionRefTenantId=“Tenant1” from the BPMN the tests pass.
We’re deploying or BPMN and DMN for testing using @Deployment annotation, and we do not use any explicit config files for Camunda.
Is there a way we can solve this?
Request you to please point us in the correct direction.