flowable/flowable-engine · error · FlowableObjectNotFoundException
no deployed app definition found with id ''
Error message
no deployed app definition found with id ''
What it means
Lookup failure in AppDeploymentManager.findDeployedAppDefinitionById: the given appDefinitionId was not in the app definition cache and not found by the entity manager, meaning no deployed app definition exists with that id (wrong id, or the deployment was never resolved/registered in this engine).
Solutions
- Verify the id with an app definition query
- Deploy the app so the definition exists before referencing it
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/deployer/AppDeploymentManager.java:68 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of flowable/flowable-engine@d6d39ce1c6 (2026-09-11).
Data as JSON: /api/errors/1d76f299cfad5d4f.
Report an issue: GitHub.
Appendix: source
Thrown at modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/deployer/AppDeploymentManager.java:68
public void deploy(EngineDeployment deployment, Map<String, Object> deploymentSettings) {
for (EngineDeployer deployer : deployers) {
deployer.deploy(deployment, deploymentSettings);
}
}
public AppDefinition findDeployedAppDefinitionById(String appDefinitionId) {
if (appDefinitionId == null) {
throw new FlowableIllegalArgumentException("Invalid app definition id : null");
}
AppDefinitionCacheEntry cacheEntry = appDefinitionCache.get(appDefinitionId);
AppDefinition appDefinition = cacheEntry != null ? cacheEntry.getAppDefinition() : null;
if (appDefinition == null) {
appDefinition = appDefinitionEntityManager.findById(appDefinitionId);
if (appDefinition == null) {
throw new FlowableObjectNotFoundException("no deployed app definition found with id '" + appDefinitionId + "'", AppDefinition.class);
}
appDefinition = resolveAppDefinition(appDefinition).getAppDefinition();
}
return appDefinition;
}
public AppDefinition findDeployedLatestAppDefinitionByKey(String appDefinitionKey) {
AppDefinition appDefinition = appDefinitionEntityManager.findLatestAppDefinitionByKey(appDefinitionKey);
if (appDefinition == null) {
throw new FlowableObjectNotFoundException("no apps deployed with key '" + appDefinitionKey + "'", AppDefinition.class);
}
appDefinition = resolveAppDefinition(appDefinition).getAppDefinition();
return appDefinition;
}
public AppDefinition findDeployedLatestAppDefinitionByKeyAndTenantId(String appDefinitionKey, String tenantId) {
AppDefinition appDefinition = appDefinitionEntityManager.findLatestAppDefinitionByKeyAndTenantId(appDefinitionKey, tenantId);View on GitHub (pinned to d6d39ce1c6)