cancel
Showing results for 
Search instead for 
Did you mean: 

Task management using client side forms

kaech
Champ in-the-making
Champ in-the-making
I would like to add support for task management in an existing desktop application using the REST API.
Sending and updating form parameters is possible via "Perform Task Operation".

But how can I obtain form parameters from activiti?
The "Get Task" response doesn't seem to contain the form parameters but just the form name.

Is there a way to retrieve form parameters for a given taks via the REST interface?
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
Hi,

I presume you are talking about the form-properties (http://activiti.org/userguide/index.html#formProperties).
Currently, the form-property related methods are not yet exposed in the REST-API, only in the java-api, check this issue: http://jira.codehaus.org/browse/ACT-269.

kaech
Champ in-the-making
Champ in-the-making
Thank you for the info.
I think having full control over the form properties via REST is important to support arbitrary UI technologies.
Without it, Activiti would be limited to server side UI technologies such as JSP or JSF only.
This would be a unnecessary limitation.

For the time being I am thinking of using the database REST API or creating a servlet with a custom REST API.
It would probably make sense as a workaround until the form properties are accessible via the "official" REST API.

Do you think the form properties will be accessible via the REST API in one of the upcoming releases?