cancel
Showing results for 
Search instead for 
Did you mean: 

Repository rest api returns 400

prashantm
Champ in-the-making
Champ in-the-making
When I issue a request like

http://localhost:8080/activiti-rest/service/repository/process-definitions/SNJCOWF-1%3A1%3A156

the response is always as follows

{"errorMessage":"unknown type 'activitUser' possibleAssignmentOwner","statusCode":400}

My other prior rest calls to get tasks list, task, and next call to get process instance work without any issue.

regards,

Prashant
4 REPLIES 4

trademak
Star Contributor
Star Contributor
Hi,

Are you using a specific custom form property type? Or any other custom things in your process definition?

Best regards,

prashantm
Champ in-the-making
Champ in-the-making
Yes, I do.

For processes without form properties it does work.

Do we call this a bug?

regards, Prashant

trademak
Star Contributor
Star Contributor
Ok, no that's not a bug. If you make the custom form type available on the REST app classpath it should work fine.

Best regards,

prashantm
Champ in-the-making
Champ in-the-making
Thanks Tijs,

Just for the sake of completeness if somebody comes across same problem

the context xml should declare the customFormTypes as well.

cheers, Prashant