cancel
Showing results for 
Search instead for 
Did you mean: 

Rest API issue with TextArea

deepyamanchatte
Champ in-the-making
Champ in-the-making
Hi

I am new to Activiti and using the version 5.17.

I have successfully drawn a process diagram with custom fields i.e. textarea and deployed the same on activiti-explorer2. My process works fine on the explorer with the custom field.
I am having a problem when I am trying to start a new process instance for the same using the REST API.

eg.
http://localhost:8080/activiti-rest/service/repository/process-definitions/CatalogueApproval:2:25004

Error: {"message":"Bad request","exception":"unknown type 'textarea' initcomments"}

Request for some insights on the problem.

Regards

Deepyaman
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
The process engine in the REST application also needs to know the custom form fields (this is what the exception is hinting at)