How get transaction state work?

how get transaction state work? Transaction state how it works its somewhere confusion for me and basically reframework also some confusion

@babita Kindly refer official documetation.

REFramework Documentation-EN.pdf (1.1 MB)