net.corda.flows / FinalityFlow / <init>

# <init>

`FinalityFlow(transaction: SignedTransaction, participants: Set<Party>)`
`FinalityFlow(transaction: SignedTransaction, participants: Set<Party>, progressTracker: ProgressTracker)`

Finalise a transaction by notarising it, then recording it locally, and then sending it to all involved parties.

### Parameters

`transaction` - to commit.
`participants` - a list of participants involved in the transaction.

Return
a list of participants who were successfully notified of the transaction.