cancel
Showing results for 
Search instead for 
Did you mean: 

No Process Deployed with the key

chandanmb1
Champ on-the-rise
Champ on-the-rise
Hello,

Attached is my Java code. Please have a look at it.
If i am deploying using ClasspathResource, it is working fine. But when i am deploying using addString and trying to startProcessInstance.
It is showing "No Process Deployed with the key".

I guess there is no entry in ACT_RE_PROCDEF but there is an entry in ACT_RE_DEPLOYMENT

Please support!! I am stuck here.
5 REPLIES 5

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,
isExecutable=\"false\">
Could be the issue.

Regards
Martin

chandanmb1
Champ on-the-rise
Champ on-the-rise
Hello,

<code>
isExecutable=\"true\">
</code>

But still it is not working.

martin_grofcik
Confirmed Champ
Confirmed Champ

chandanmb1
Champ on-the-rise
Champ on-the-rise
Hello Martin,
Here is the Junit Link. Please provide me the solution.



Thanks
Chandan'> https://github.com/chandanmb/ActivitiTest


Thanks
Chandan

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

The problem is in the addString resourceName.

   Deployment deployment = repositoryService.createDeployment().addString("Process_1.bpmn20.xml", honeywell).deploy();
Add bpmn20.xml sufix to the resource name (only these are treated as a process models)

Regards
Martin