net.corda.core.node / ServiceHub / invokeFlowAsync

# invokeFlowAsync

`abstract fun <T : Any> invokeFlowAsync(logicType: Class<out FlowLogic<T>>, vararg args: Any?): FlowStateMachine<T>`

Will check logicType and args against a whitelist and if acceptable then construct and initiate the flow.

### Exceptions

`IllegalFlowLogicException` - or IllegalArgumentException if there are problems with the logicType or args.