corda / net.corda.core.flows / FlowLogic / getFlowInfo

getFlowInfo

@Suspendable fun getFlowInfo(otherParty: Party): FlowInfo
Deprecated: Use FlowSession.getCounterpartyFlowInfo()

Returns a FlowInfo object describing the flow otherParty is using. With FlowInfo.flowVersion it provides the necessary information needed for the evolution of flows and enabling backwards compatibility.

This method can be called before any send or receive has been done with otherParty. In such a case this will force them to start their flow.