StartableByService

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class StartableByService

Any FlowLogic which is to be started by the AppServiceHub interface from within a CordaService must have this annotation. If it's missing the flow will not be allowed to start and an exception will be thrown.