cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using repository/process-definition Rest API

chala_chitturi
Champ in-the-making
Champ in-the-making
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                      |
+————————-+——————————+

2 REPLIES 2

trademak
Star Contributor
Star Contributor
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,

chala_chitturi
Champ in-the-making
Champ in-the-making
Thank You. It worked.
I removed all demo data except users and groups.