sub Flow
Executes the given SubFlow.
This function returns once the SubFlow completes, returning either:
The result executing of SubFlow.call.
An exception thrown by SubFlow.call.
Any open FlowSessions created within a SubFlow annotated with InitiatingFlow are sent:
Session close messages after successfully completing the SubFlow.
Session error messages when an exception is thrown from the SubFlow.
Return
The result of executing SubFlow.call.
See also
Parameters
Throws
Corda Runtime Exception
General type of exception thrown by most Corda APIs.