Long running process handling


#1

Hi,

I want to have a process to initialize my “system”, meaning setting some variables, establishing some connections, etc, so all the subsequent various processes can make use of these variables/connections.
I want this process to be “active” until I decide to terminate my “system”.

I was thinking of the following process
initialize_system

(The conditional event can be triggered via API or I could use a User Task for user input)

Do you think this is a good approach to have an “active” process for a long time?
Should I split this into 2? One for initialization (process is ended after the service task) and one for termination?

The point is that with the long running “active” process I can keep details in the “execution” while all the others processes are running.

Any thoughts?

Thanks