t can be useful to define properties on flows and then reference them in steps. Any of the properties on a flow can be referenced at the steps at the source or target end of the flow. Additionally, the reference, name and role of the other end of the flow can be accessed from the step at the other end.
To reference a flow property in a step, the flow must have a flow reference, which defaults to the state or status property. A reference of * means "any flow", which can match the use of * from state or status.
Assuming there are two steps, A and B, with a flow between them with a flow reference of link.
A can reference:
-
B's reference using ${target.link}
-
B's name using ${target.link.target.name}
-
B's role using ${target.link.target.role}
-
The link's property foo using ${target.link.foo}
B can referfence:
-
A's reference using ${source.link}
-
A's name using ${source.link.source.name}
-
A's role using ${source.link.source.role}
-
The link's property foo using ${source.link.foo}