Not all statuses are equal with

By | April 10, 2024

Turns out we can’t use process.setStatus freely to finish a business process at any time – it has to be in the final stage. Otherwise, we can only abort a process.

Come to think of it, it is neither too obvious, nor too counter-intuitive. Either way, the code below works, it seems:“finished”, result => {

if(result == “invalid”)“aborted”);


Leave a Reply

Your email address will not be published. Required fields are marked *