# Get Variable of Archived cases in Bonita Portal

**URL:** <https://community.ofelia.com/t/get-variable-of-archived-cases-in-bonita-portal/8154>\
**Category:** Q&A\
**Created:** [29 January 2017 16:50 UTC](https://community.ofelia.com/t/get-variable-of-archived-cases-in-bonita-portal/8154 "2017-01-29T16:50:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mainamaan77](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mainamaan77](https://community.ofelia.com/u/mainamaan77)\
**Post date:** [29 January 2017 16:50 UTC](https://community.ofelia.com/t/get-variable-of-archived-cases-in-bonita-portal/8154/1 "2017-01-29T16:50:23Z")

</div>

I want to make a form in which i can show variables of every process. I want to show variables of an archived process instance using Bonita REST API using using BonitaBPMCommunity-7.3.1-Tomcat-7.0.67. I can get variables of running instances in Open cases tab(using this example form processVariableOverview at this link [http://community.ofelia.com/project/process-variable-example](http://community.ofelia.com/project/process-variable-example)) but I can’t get archived instances’ variables. Any help please ?

---

<div class="post-metadata">

**Author:** ![mvpdev](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@mvpdev](https://community.ofelia.com/u/mvpdev)\
**Post date:** [9 February 2017 16:58 UTC](https://community.ofelia.com/t/get-variable-of-archived-cases-in-bonita-portal/8154/2 "2017-02-09T16:58:20Z")

</div>

Hi mainamaan77,

You will not make it by using REST API, because it does not support the variables of a archived case (completed case). However, you may achieve this by using an Extension to the API REST using a database query in the table archive.

The Bonita official solution for this situation, is to you keep the relevant information inside your processesses in bussiness database. Using BDM to keep the relevant data of your bussiness process along it.

Cheers,  
Marcos Vinícius Pinto
