REST: Is there a way to request for userTask's formData?


Hi all.

Is there a way to get formProperty list for a task instance with REST call?


You can use the id to obtain a JSON representation of the form model:

curl -i 'http://admin:test@localhost:8080/flowable-task/form-api/form-repository/form-definitions/c5bdb1a1-06f8-11e9-a85e-0242ac110002/model'

See: Flowable’s REST API - Part 1


Thanks, but I probably didn’t expressed it clear enough.

What about tasks instances that have no form references? E.g. having an instantiated process with current activity defined like this:

<userTask id="utask1">
        <flowable:formProperty id="fp1" name="fp1" type="string" default="zzz"></flowable:formProperty>

Is there a way to get that formProperties list with REST call?