Can i have a new transaction inside a transaction.
This is needed since i want to commit only a particluar flow inside a transaction. And later i want to commit the entire outside transaction.(I am using Usertransaction type)
You can invoke methods that start a new transaction while the first transaction is suspended but you need to explain your requirements more here.
Why are these transactions related? What happens if the second flows fail to commit after the first has already been committed?