Hi i'm newbie in the JBPM world, i have installed jbpm 7.
I have defined a process than ends with a user task with input variables, for example variable1 and variable2
I need to retrieve from an external application the tasks of a user with the current values of the input variables using the REST API.
* I have found method for getting the task for a user, but the content of the variables is not showed.
* I have found methods for filtering the task by a variable value, but still the variable values are not returned.
And given a task instanceid retrieving the variables content.
is there any way of retriving the task of the user along with the values of the input variables using the REST API, (in jbpm7)?
I see there is a REST API, tested but it doesn't work :
Rich query for task summaries and process variables.
Don't use those last 2 APIs, they're old "Business Central" workbench APIs, not KIE-Server APIs. To return a task instance including it's input and output data, you can do something like this:
Hope this helps,