Hello Shubham,
Yes, the transaction is initialized as soon as Microflow executes and ends when Microflow completes. That the reason the when any exception occurs in the flow we have the provision to handle the exception with either “Rollback”, “Custom with rollback”, “Custom without rollback”. By default, the Rollback will be applied.
Hope this helps.