cancel
Showing results for 
Search instead for 
Did you mean: 

Get Response from Service task using RESTful

sarkar92
Champ in-the-making
Champ in-the-making
As per Activiti in action I can easily get response from User task using RESTful API.

But How can I get a response from Service Task using RESTful API.


please help……  Smiley Indifferent  Smiley Indifferent  Smiley Indifferent  Smiley Indifferent
4 REPLIES 4

jbarrez
Star Contributor
Star Contributor
Service tasks are automatic steps and do not 'return' anything.

What is your use case?

sarkar92
Champ in-the-making
Champ in-the-making
thanks for your reply….

please help me one more thing…
is it possible send marshell object using RESTful in activiti??

please help me. I dont know how to send marshell object using RESTful in activiti

jbarrez
Star Contributor
Star Contributor
No, the rest service only supports the standard json types.

However, you can easily write your own rest call, which takes in the json of your object, creates an object based on that data, and calls the startProcessInstance method for you.

sarkar92
Champ in-the-making
Champ in-the-making
thanks a lot