# How to save form using rest api

**URL:** <https://forum.flowable.org/t/how-to-save-form-using-rest-api/3124>\
**Category:** Flowable Application\
**Created:** [December 25, 2018, 7:00am UTC](https://forum.flowable.org/t/how-to-save-form-using-rest-api/3124 "2018-12-25T07:00:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xcaptain](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/xcaptain/32/1286_2.png) [@xcaptain](https://forum.flowable.org/u/xcaptain)\
**Post date:** [December 25, 2018, 7:00am UTC](https://forum.flowable.org/t/how-to-save-form-using-rest-api/3124/1 "2018-12-25T07:00:22Z")

</div>

I’m using [https://github.com/flowable/flowable-engine/blob/eeebfd23af3571741b60e3f663f17c0ecc50a812/docs/public-api/references/swagger/form/flowable-swagger-form.yaml#L439-L462](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](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](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!

---

<div class="post-metadata">

**Author:** ![xcaptain](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/xcaptain/32/1286_2.png) [@xcaptain](https://forum.flowable.org/u/xcaptain)\
**Post date:** [December 25, 2018, 8:09am UTC](https://forum.flowable.org/t/how-to-save-form-using-rest-api/3124/2 "2018-12-25T08:09:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Robinyo](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Robinyo](https://forum.flowable.org/u/Robinyo)\
**Post date:** [December 26, 2018, 1:13am UTC](https://forum.flowable.org/t/how-to-save-form-using-rest-api/3124/3 "2018-12-26T01:13:12Z")

</div>

I have updated my [post](https://robferguson.org/blog/2018/12/24/flowable-rest-api-part-1/) re Flowable’s REST API.

I have run into a few issues as well …

---

<div class="post-metadata">

**Author:** ![xcaptain](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/xcaptain/32/1286_2.png) [@xcaptain](https://forum.flowable.org/u/xcaptain)\
**Post date:** [December 26, 2018, 2:46am UTC](https://forum.flowable.org/t/how-to-save-form-using-rest-api/3124/4 "2018-12-26T02:46:45Z")

</div>

Seems like we are in the same learning pace 🙂

I found [https://github.com/flowable/flowable-engine/pull/380](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.

---

<div class="post-metadata">

**Author:** ![tijs](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@tijs](https://forum.flowable.org/u/tijs)\
**Post date:** [December 29, 2018, 10:40am UTC](https://forum.flowable.org/t/how-to-save-form-using-rest-api/3124/5 "2018-12-29T10:40:17Z")

</div>

Hi,

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

> <https://github.com/flowable/flowable-engine/issues/1471>

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
