No Process Deployed with the key

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2016 11:46 PM
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.
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.
Labels:
- Labels:
-
Archive
ActivitiTest.txt.zip
2 KB
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2016 04:03 PM
Hi,
Could be the issue.
Regards
Martin
isExecutable=\"false\">
Could be the issue.
Regards
Martin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2016 12:36 AM
Hello,
<code>
isExecutable=\"true\">
</code>
But still it is not working.
<code>
isExecutable=\"true\">
</code>
But still it is not working.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2016 02:07 AM
Can you create jUnit test?
https://forums.activiti.org/content/sticky-how-write-unit-test
regards
Martin
https://forums.activiti.org/content/sticky-how-write-unit-test
regards
Martin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2016 12:52 AM
Hello Martin,
Here is the Junit Link. Please provide me the solution.
Thanks
Chandan'> https://github.com/chandanmb/ActivitiTest
Thanks
Chandan
Here is the Junit Link. Please provide me the solution.
Thanks
Chandan'> https://github.com/chandanmb/ActivitiTest
Thanks
Chandan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2016 01:58 AM
Hi,
The problem is in the
Regards
Martin
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
