How to save form using rest api


#1

I’m using https://github.com/flowable/flowable-engine/blob/eeebfd23af3571741b60e3f663f17c0ecc50a812/docs/public-api/references/swagger/form/flowable-swagger-form.yaml#L439-L462 to get form instance. But I have trouble saving form in a task, need help.

I tried:

  1. https://www.flowable.org/docs/userguide/index.html#_submit_task_form_data, But this returns internal server error or complete task
  2. https://github.com/flowable/flowable-engine/blob/eeebfd23af3571741b60e3f663f17c0ecc50a812/docs/public-api/references/swagger/form/flowable-swagger-form.yaml#L590-L611, This api doesn’t

What’s the correct way to save the form without complete it, thanks!


#2

I just found this feature in flowable-ui-task but not in flowable-rest, Am I missing anything?


#3

I have updated my post re Flowable’s REST API.

I have run into a few issues as well …


#4

Seems like we are in the same learning pace :slight_smile:

I found https://github.com/flowable/flowable-engine/pull/380 , In this issue someone added support to save form in flowable-ui-task but not in flowable-rest.

This should be easy to implement, but I don’t know much about java. Need instructions on how to build flowable and how to debug in eclipse.


#5

Hi,

Saving a form instance can be done using the Form engine REST API like it’s described in the comments in this issue:

Like mentioned there already, we need to indeed improve the REST API to make working with forms a lot easier so not several REST calls are needed.

Best regards,

Tijs