I am new to Flowable so if there are links I should read instead please point me in the right direction and I will read that first to try and learn, however, in the meantime I have not found an answer to my problem which is that I would like to execute a relatively simple process (BPMN) where a number of HTTP requests are made out to external services and then the workflow process terminates with either success or failure status. There are no human tasks, all are automated and while there might be failures/retries/etc it will still all finish relatively quickly with either a success or failure.
As the initiator of the process, how do I programmatically wait around until it has finished?
Also, what is the pattern to extract this end status? Is it to have a variable or different termination nodes?