# is it possible to modify BDM variables in an application page?

**URL:** <https://community.ofelia.com/t/is-it-possible-to-modify-bdm-variables-in-an-application-page/10161>\
**Category:** Q&A\
**Created:** [13 May 2020 01:29 UTC](https://community.ofelia.com/t/is-it-possible-to-modify-bdm-variables-in-an-application-page/10161 "2020-05-13T01:29:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![torea\_1402565](https://avatars.discourse-cdn.com/v4/letter/t/ea5d25/32.png) [@torea\_1402565](https://community.ofelia.com/u/torea_1402565)\
**Post date:** [13 May 2020 01:29 UTC](https://community.ofelia.com/t/is-it-possible-to-modify-bdm-variables-in-an-application-page/10161/1 "2020-05-13T01:29:02Z")

</div>

Hi,

I'm looking for a way to modify a bdm variable in an active case from an application page.

I can access the variable with the REST API using the case context but how can I make the update in the database when clicking on a button?

Is it possible or do I have to use a Process Task in order to update a BDM variable?

Is it the same problem with the case variables?

---

<div class="post-metadata">

**Author:** ![romain.bioteau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/romain.bioteau/32/720_2.png) [@romain.bioteau](https://community.ofelia.com/u/romain.bioteau)\
**Post date:** [20 May 2020 11:29 UTC](https://community.ofelia.com/t/is-it-possible-to-modify-bdm-variables-in-an-application-page/10161/2 "2020-05-20T11:29:22Z")

</div>

Hi,

You have to instantiate a process from your application using the [REST API](https://documentation.bonitasoft.com/bonita/7.10/bpm-api#toc21) and a Button with a POST action.

HTH

Romain

---

<div class="post-metadata">

**Author:** ![torea\_1402565](https://avatars.discourse-cdn.com/v4/letter/t/ea5d25/32.png) [@torea\_1402565](https://community.ofelia.com/u/torea_1402565)\
**Post date:** [25 May 2020 19:59 UTC](https://community.ofelia.com/t/is-it-possible-to-modify-bdm-variables-in-an-application-page/10161/3 "2020-05-25T19:59:58Z")

</div>

Hi,

I already have a process instance running. I can read the BDM variables values but I don't know how to modify them in an application page.

For now, I've made a task which runs in parallel to the normal process, and I modify the variables using this task.

&nbsp;
