# Definition created through REST not visible in Modeler

**URL:** <https://forum.flowable.org/t/definition-created-through-rest-not-visible-in-modeler/2740>\
**Category:** Flowable Engine\
**Created:** [October 16, 2018, 9:56am UTC](https://forum.flowable.org/t/definition-created-through-rest-not-visible-in-modeler/2740 "2018-10-16T09:56:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pahujadeepanshu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/pahujadeepanshu/32/837_2.png) [@pahujadeepanshu](https://forum.flowable.org/u/pahujadeepanshu)\
**Post date:** [October 16, 2018, 9:56am UTC](https://forum.flowable.org/t/definition-created-through-rest-not-visible-in-modeler/2740/1 "2018-10-16T09:56:15Z")

</div>

Hi, I am deploying a process definition using REST and I want the same to be visible to user in Modeler. By default it wont show there . Is there a parameter that I need to pass?

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [October 16, 2018, 10:22am UTC](https://forum.flowable.org/t/definition-created-through-rest-not-visible-in-modeler/2740/2 "2018-10-16T10:22:19Z")

</div>

Hi,

I am not sure whether we are talking about the same thing, but modeler allows to edit models. Definitions are created from the model during the deployment.

Regards  
Martin

---

<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 16, 2018, 10:26am UTC](https://forum.flowable.org/t/definition-created-through-rest-not-visible-in-modeler/2740/3 "2018-10-16T10:26:38Z")

</div>

@pahujadeepanshu to add to what Martin said. The modeler application does not use the same tables as the Flowable engines. Which means that if you want to see a model in the modeler you will need to import it into the modeler application as well

---

<div class="post-metadata">

**Author:** ![pahujadeepanshu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/pahujadeepanshu/32/837_2.png) [@pahujadeepanshu](https://forum.flowable.org/u/pahujadeepanshu)\
**Post date:** [October 16, 2018, 10:37am UTC](https://forum.flowable.org/t/definition-created-through-rest-not-visible-in-modeler/2740/4 "2018-10-16T10:37:02Z")

</div>

Thanks !! Is there a way I can do that in a program? My requirement is to auto deploy a definition that we create and let the user modify it as per his choice later using modeler

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [October 16, 2018, 11:21am UTC](https://forum.flowable.org/t/definition-created-through-rest-not-visible-in-modeler/2740/5 "2018-10-16T11:21:08Z")

</div>

Definitions should be immutable (there are some use cases in which modification is necessary, but in general they are immutable).  
What I would do is to export application with process definition, import it to the modeler, (can be done by rest calls)  
and do modificaton -\> deploy in a loop.

Would it work for you?  
Martin

---

<div class="post-metadata">

**Author:** ![pahujadeepanshu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/pahujadeepanshu/32/837_2.png) [@pahujadeepanshu](https://forum.flowable.org/u/pahujadeepanshu)\
**Post date:** [November 12, 2018, 10:15am UTC](https://forum.flowable.org/t/definition-created-through-rest-not-visible-in-modeler/2740/6 "2018-11-12T10:15:59Z")

</div>

> [@martin.grofcik](#):
>
> import it to the modeler, (can be done by rest calls)

Hi @martin.grofcik,

I have an exported application with process definition but when I import it using the REST calls, it does not show up in modeler. What could I be doing wrong?

I can see that available in REST GET calls though.

Also, here is a case that we ship a version 1.0 of our process definition to user today but we later want to migrate the same to 2.0 with an app definition again downloaded. Will that be achievable?

Thanks,  
Deepanshu

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [November 14, 2018, 6:34am UTC](https://forum.flowable.org/t/definition-created-through-rest-not-visible-in-modeler/2740/7 "2018-11-14T06:34:47Z")

</div>

Hi Deepanshu,

> [@pahujadeepanshu](#):
>
> I import it using the REST calls

Which rest calls did you use?

> [@pahujadeepanshu](#):
>
> later want to migrate the same to 2.0

You can publish newer versions to the task app. When you want to migrate currently running process instances to behave according to new definitions use migration API.

> **[Open Source](https://www.flowable.com/open-source)**
>
> The Flowable project provides a core set of open source business process engines that are compact and highly efficient. Get the source code.

Martin

---

<div class="post-metadata">

**Author:** ![pahujadeepanshu](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/pahujadeepanshu/32/837_2.png) [@pahujadeepanshu](https://forum.flowable.org/u/pahujadeepanshu)\
**Post date:** [November 14, 2018, 6:57pm UTC](https://forum.flowable.org/t/definition-created-through-rest-not-visible-in-modeler/2740/8 "2018-11-14T18:57:00Z")

</div>

Hello,

I am using /repository/deployments call and giving a whole zip fie downloaded after creating an app.

Here is what I am trying to achieve.

1. I am creating an app which is for a certain functionality.
2. User will have to upload this in their flowable instance using REST preferably.
3. If I in future decide to update the process definition in the app, I should be able to do it.

Thanks,  
Deepanshu
