corda / net.corda.core.node / AppServiceHub / startFlow

startFlow

abstract fun <T> startFlow(flow: FlowLogic<T>): FlowHandle<T>

Start the given flow with the given arguments. flow must be annotated with net.corda.core.flows.StartableByService. TODO it is assumed here that the flow object has an appropriate classloader.