Flow definition
查看 MarkdownA Flow registers its Steps, its persistence schema, and its RPC handlers.
- getSteps registers one start Step and every other Step type the Flow may reach through Step decision movements. The start Step input type is also the Flow start input type. An empty Step list, or a list with no start Step, is valid when the Flow is driven entirely by RPCs that later move into Steps.
- The persistence schema lists every Attribute and Channel used from Steps or RPCs. Dex rejects reads and writes to names that are not declared.
- Declare RPC methods with @rpc or declareRPCMethod. The durable RPC name is the method name unless the options supply name.
Implement getFlowType and getStepType to supply the durable Flow type and Step type.