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.
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
I am not sure I understand your first question. Your models are deployed to Zeebe, and once they are deployed they remain with Zeebe until you delete them. I would imagine it’s quite inefficient to delete processes after running them, and that would make historical reporting (such as what Optimize provides) very difficult.
For User Tasks, you can configure an Assignee based on a FEEL expression, so you can change the assignee based on the value of another variable. However, you don’t write the “do something” part with FEEL; User Tasks are handled by Tasklist.