# Enable Rest End points

**URL:** <https://forum.flowable.org/t/enable-rest-end-points/11818>\
**Category:** Uncategorized\
**Created:** [October 2, 2024, 4:40am UTC](https://forum.flowable.org/t/enable-rest-end-points/11818 "2024-10-02T04:40:10Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartik](https://avatars.discourse-cdn.com/v4/letter/k/e274bd/32.png) [@kartik](https://forum.flowable.org/u/kartik)\
**Post date:** [October 2, 2024, 4:40am UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/1 "2024-10-02T04:40:10Z")

</div>

Hi,  
What all properties need to be enabled in the backend to work flowable-rest endpoints  
basically in the Application properties what all needs to be enabled  
when i start my application i get errors like  
no static resource found  
or 404

regards,  
Kartik

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [October 2, 2024, 10:48am UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/2 "2024-10-02T10:48:05Z")

</div>

hey @kartik,

The flowable-rest application only exposes REST APIs. What are you trying to access that you get “no static resource found” or “404”?

---

<div class="post-metadata">

**Author:** ![kartik](https://avatars.discourse-cdn.com/v4/letter/k/e274bd/32.png) [@kartik](https://forum.flowable.org/u/kartik)\
**Post date:** [October 2, 2024, 11:00am UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/3 "2024-10-02T11:00:36Z")

</div>

i want to extract the ModalinstanceJson at runtime for that processDefinitionId

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [October 2, 2024, 11:07am UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/4 "2024-10-02T11:07:26Z")

</div>

@kartik I’ve already answered this.

> [@Flowable Updates](https://forum.flowable.org/t/flowable-updates/11810/4):
>
> No there is no way to get the Modeler JSON file from the runtime. I don’t think that it was ever possible to do that.

Which endpoint are you trying to access?

---

<div class="post-metadata">

**Author:** ![kartik](https://avatars.discourse-cdn.com/v4/letter/k/e274bd/32.png) [@kartik](https://forum.flowable.org/u/kartik)\
**Post date:** [October 2, 2024, 11:16am UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/5 "2024-10-02T11:16:21Z")

</div>

rest/admin/process-instances/historyInstanceId /history-model-json?processDefinitionId=  
This endpoint i am trying reach out to this end point

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [October 2, 2024, 11:19am UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/6 "2024-10-02T11:19:39Z")

</div>

That part I answered already in

> [@Flowable Updates](https://forum.flowable.org/t/flowable-updates/11810/2):
>
> Hey @kartik, The Flowable runtime does not use the ACT\_RE\_MODEL table. From the runtime you cannot get to the model json used by the Flowable Modeler. Not sure what you mean by this. Flowable does not have rest/admin endpoints. That was used for the Flowable Admin UI, which is no longer supported from Flowable 7. Cheers, Filip

---

<div class="post-metadata">

**Author:** ![kartik](https://avatars.discourse-cdn.com/v4/letter/k/e274bd/32.png) [@kartik](https://forum.flowable.org/u/kartik)\
**Post date:** [October 2, 2024, 11:27am UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/7 "2024-10-02T11:27:19Z")

</div>

So these configurations wont work anymore?

#rest config  
flowable.rest-api.enabled=true  
flowable.rest.context-root=/rest  
#admin config  
flowable.admin.enabled=true  
flowable.admin.context-root=rest/admin

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [October 2, 2024, 11:30am UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/8 "2024-10-02T11:30:09Z")

</div>

Those properties never worked for the `flowable-rest` application. They were for the Flowable UI Application. Those were 2 different independent applications.

From Flowable 7 there are no UI applications anymore. Only the Flowable REST application where the Flowable REST API is hosted.

So no those properties won’t work, to be honest, I don’t think that they were official Flowable properties as well.

---

<div class="post-metadata">

**Author:** ![kartik](https://avatars.discourse-cdn.com/v4/letter/k/e274bd/32.png) [@kartik](https://forum.flowable.org/u/kartik)\
**Post date:** [October 2, 2024, 11:36am UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/9 "2024-10-02T11:36:59Z")

</div>

so lets say i want to build a flowable UI just for my application and i want to display the current processInstance that are running  
how should one achieve that?

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [October 2, 2024, 12:08pm UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/10 "2024-10-02T12:08:29Z")

</div>

You can use the Flowable REST APIs to get and display the data you want.

You can read more about the existing REST APIs at

- [Flowable Open Source REST API Documentation | Flowable Enterprise Documentation](https://documentation.flowable.com/latest/develop/core-swagger)
- [REST API · Flowable Open Source Documentation](https://www.flowable.com/open-source/docs/bpmn/ch14-REST)
- [Flowable Process Swagger Documentation](https://documentation.flowable.com/latest/assets/core-swagger/bpmn.html)

---

<div class="post-metadata">

**Author:** ![kartik](https://avatars.discourse-cdn.com/v4/letter/k/e274bd/32.png) [@kartik](https://forum.flowable.org/u/kartik)\
**Post date:** [October 2, 2024, 12:15pm UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/11 "2024-10-02T12:15:43Z")

</div>

we can also display the entire process diagram at runtime?  
by this i mean show the diagram about which task the user is executing

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [October 2, 2024, 12:18pm UTC](https://forum.flowable.org/t/enable-rest-end-points/11818/12 "2024-10-02T12:18:10Z")

</div>

You’ll need to build your own UI that can process the responses from the REST API. If you do that, then yes you would be able to display the diagram at runtime.
