# Proces bpmn xml files

**URL:** <https://forum.flowable.org/t/proces-bpmn-xml-files/11265>\
**Category:** Flowable Application\
**Created:** [February 15, 2024, 10:27am UTC](https://forum.flowable.org/t/proces-bpmn-xml-files/11265 "2024-02-15T10:27:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saggam](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@saggam](https://forum.flowable.org/u/saggam)\
**Post date:** [February 15, 2024, 10:27am UTC](https://forum.flowable.org/t/proces-bpmn-xml-files/11265/1 "2024-02-15T10:27:27Z")

</div>

I have 2 queries. Kindly assist me with sample.

1. I want to store the process resource file (bpmn xml files) in database and load them on need basis instead of startup to load all the process.

2. Can the User Task or exclusiveGateway hold some metadata which will be used by application during process of human task. like i want to store some condition like  
if amount \> 1000 then only allowed user  
do something…  
elseif amount \> = 500 then only allowed user  
do something…  
else  
dos something…  
so the application can fetch this metadata and do some process

Thanks

---

<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:** [June 11, 2024, 2:13pm UTC](https://forum.flowable.org/t/proces-bpmn-xml-files/11265/2 "2024-06-11T14:13:37Z")

</div>

Hey @saggam,

> [@saggam](#):
>
> I want to store the process resource file (bpmn xml files) in database and load them on need basis instead of startup to load all the process.

Flowable is already doing this. What exactly are you trying to achieve?

> [@saggam](#):
>
> Can the User Task or exclusiveGateway hold some metadata which will be used by application during process of human task. like i want to store some condition like

The place to hold this data is the process instance. You can achieve this by using modeling a process that would do what you explained.

Cheers,  
Filip
