I have a requirement where i need to run the process for long time (say 24 hrs) till all the tasks are completed (manually or automated). I am not use the Human task or User tasks. When I have this process running how is the process instance state handled in Activiti?
If the server shuts down for some reason and if i bring the server back, how the process get back to the state where it was running? IS there any API/ utility that i can run during the startup that can check the active persisted instances if it has features like this) and bring the process es back to same state they were when it was shut down?
Activiti has defined wait states (e.g. Human Task, async task….) on which execution stops. It means that process is physically executed until it reaches wait state. When the wait state is reached, the execution stops and the state is persisted into the DB. The process execution continues when some signal/event is sent to the process.