I am using Flowable 6.5.0, and I have this main process containing a CallActivity step.
I have used the Flowable modeler to draw both the main and the secondary processes.
When I try to create an App, including both processes, when I try to deploy it, I got the error message:
2020-02-28 11:06:23.738 INFO 17781 --- [nio-9080-exec-9] o.f.a.e.i.d.AppDeployer : Processing app resource analise-credito-app.app 2020-02-28 11:06:23.740 INFO 17781 --- [nio-9080-exec-9] o.f.e.c.i.d.BpmnDeployer : BpmnDeployer: processing resource analise-credito.bpmn 2020-02-28 11:06:23.741 INFO 17781 --- [nio-9080-exec-9] o.f.e.c.i.d.BpmnDeployer : BpmnDeployer: processing resource formalizacao-proposta-credito.bpmn 2020-02-28 11:06:23.893 ERROR 17781 --- [nio-9080-exec-9] o.f.c.r.e.BaseExceptionHandlerAdvice : Unhandled exception org.flowable.common.engine.api.FlowableException: The deployment contains process definitions with the same key (process id attribute), this is not allowed
What is the right way to deploy an App into the same Flowable process I am using to draw the processes?
If I create the App containing only the main process, the deploy works, but when I execute it, when the CallActivity is reached, the following error happens:
org.flowable.common.engine.api.FlowableObjectNotFoundException: Process definition formalizacao-proposta-credito was not found in sameDeployment[false] tenantId fallbackToDefaultTenant[false]