Hello I am trying to implement transaction sub-process using the Fluent Builder API. I suspect it is this:
builder.transaction(subprocessId)
but firstly transaction method returns TransactionBuilder which does not have method for adding start event. Why does it not contain this method? How am I supposed to add the start event? Then when I am trying (even immedietly after opening the transaction) to call the method transactionDone() the deployment tells me it cannot find parent transaction. Lastly when trying to end cancel event inside the transaction deployment tells me that cancel event can be only inside transaction subprocess. What am I doing wrong? Can someone please give me an example of how to implement transaction subprocess using fluent builder API?