InitiatedBy
Keywords: net.corda.core.flows.InitiatedBy class
Date: 2023-09-18

net.corda.core.flows

## Annotation Type InitiatedBy

-     @Target
       @Documented
       @Retention
       @Target
      public InitiatedBy

  This annotation is required by any `class FlowLogic` that is designed to be initiated by a counterparty flow. The class must have at least a constructor which takes in a single `class Party` parameter which represents the initiating counterparty. The `class FlowLogic` that does the initiating is specified by the `value` property and itself must be annotated with `annotationclass InitiatingFlow`.

  The node on startup scans for `class FlowLogic`s which are annotated with this and automatically registers the initiating to initiated flow mapping.

  See Also:
    `class FlowLogic`, `class Party`, `class FlowLogic`, `value`, `annotationclass InitiatingFlow`, `class FlowLogic`, `annotationclass InitiatingFlow`