Problem using repository/process-definition Rest API
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2013 04:12 PM
I am getting the following response when tried to access using the following resource
http://localhost:8080/activiti-rest/service/repository/process-definitions
Response
——–
{
errorMessage: "unknown type 'user' approver"
statusCode: 400
}
I am following UserGuide and vanilla version of the activiti wars exploded.
Please see the attachment for the exception on the apache catalina log.
Here is my environment
——————–
Using activiti 5.14
I am connecting to MySQL 5.6.14 locally.
Operating System is Mac OS X 10.9 on MacBook Pro
Java 1.7.0_45 and apache tomcat 7.0.47
Here are the details of My mysql instance
+————————-+——————————+
| Variable_name | Value |
+————————-+——————————+
| innodb_version | 5.6.14 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.6.14 |
| version_comment | MySQL Community Server (GPL) |
| version_compile_machine | x86_64 |
| version_compile_os | osx10.7 |
+————————-+——————————+
http://localhost:8080/activiti-rest/service/repository/process-definitions
Response
——–
{
errorMessage: "unknown type 'user' approver"
statusCode: 400
}
I am following UserGuide and vanilla version of the activiti wars exploded.
Please see the attachment for the exception on the apache catalina log.
Here is my environment
——————–
Using activiti 5.14
I am connecting to MySQL 5.6.14 locally.
Operating System is Mac OS X 10.9 on MacBook Pro
Java 1.7.0_45 and apache tomcat 7.0.47
Here are the details of My mysql instance
+————————-+——————————+
| Variable_name | Value |
+————————-+——————————+
| innodb_version | 5.6.14 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.6.14 |
| version_comment | MySQL Community Server (GPL) |
| version_compile_machine | x86_64 |
| version_compile_os | osx10.7 |
+————————-+——————————+
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2013 08:50 AM
This question has already been asked on the forum.
The problem is that you are using the example Activiti Explorer process definitions. And those include a user form property which is not known in the Activiti REST application by default. We should fix this to prevent this issue. But it's just a demo data issue. So if you remove the process definition containing this user form property it should be ok.
Best regards,
The problem is that you are using the example Activiti Explorer process definitions. And those include a user form property which is not known in the Activiti REST application by default. We should fix this to prevent this issue. But it's just a demo data issue. So if you remove the process definition containing this user form property it should be ok.
Best regards,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2013 04:21 PM
Thank You. It worked.
I removed all demo data except users and groups.
I removed all demo data except users and groups.
