{"record":{"id":"1d76f299cfad5d4f","repo":"flowable/flowable-engine","slug":"no-deployed-app-definition-found-with-id","errorCode":null,"errorMessage":"no deployed app definition found with id ''","messagePattern":"no deployed app definition found with id ''","errorType":"exception","errorClass":"FlowableObjectNotFoundException","httpStatus":404,"severity":"error","filePath":"modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/deployer/AppDeploymentManager.java","lineNumber":68,"sourceCode":"\n    public void deploy(EngineDeployment deployment, Map<String, Object> deploymentSettings) {\n        for (EngineDeployer deployer : deployers) {\n            deployer.deploy(deployment, deploymentSettings);\n        }\n    }\n\n    public AppDefinition findDeployedAppDefinitionById(String appDefinitionId) {\n        if (appDefinitionId == null) {\n            throw new FlowableIllegalArgumentException(\"Invalid app definition id : null\");\n        }\n\n        AppDefinitionCacheEntry cacheEntry = appDefinitionCache.get(appDefinitionId);\n        AppDefinition appDefinition = cacheEntry != null ? cacheEntry.getAppDefinition() : null;\n\n        if (appDefinition == null) {\n            appDefinition = appDefinitionEntityManager.findById(appDefinitionId);\n            if (appDefinition == null) {\n                throw new FlowableObjectNotFoundException(\"no deployed app definition found with id '\" + appDefinitionId + \"'\", AppDefinition.class);\n            }\n            appDefinition = resolveAppDefinition(appDefinition).getAppDefinition();\n        }\n        return appDefinition;\n    }\n\n    public AppDefinition findDeployedLatestAppDefinitionByKey(String appDefinitionKey) {\n        AppDefinition appDefinition = appDefinitionEntityManager.findLatestAppDefinitionByKey(appDefinitionKey);\n\n        if (appDefinition == null) {\n            throw new FlowableObjectNotFoundException(\"no apps deployed with key '\" + appDefinitionKey + \"'\", AppDefinition.class);\n        }\n        appDefinition = resolveAppDefinition(appDefinition).getAppDefinition();\n        return appDefinition;\n    }\n\n    public AppDefinition findDeployedLatestAppDefinitionByKeyAndTenantId(String appDefinitionKey, String tenantId) {\n        AppDefinition appDefinition = appDefinitionEntityManager.findLatestAppDefinitionByKeyAndTenantId(appDefinitionKey, tenantId);","sourceCodeStart":50,"sourceCodeEnd":86,"githubUrl":"https://github.com/flowable/flowable-engine/blob/d6d39ce1c69ff244f2d9dc6af756a9b95e865586/modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/deployer/AppDeploymentManager.java#L50-L86","documentation":"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).","triggerScenarios":"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.","commonSituations":"See trigger scenarios.","solutions":["Verify the id with an app definition query","Deploy the app so the definition exists before referencing it"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d6d39ce1c69ff244f2d9dc6af756a9b95e865586","analyzedAt":"2026-09-11T06:41:19.413Z","contentChangedAt":"2026-09-11T06:41:19.413Z","schemaVersion":2},"datasetVersion":"2026-09-18T11:17:12.947Z"}