Flow Properties
A flow can define a default page, variables, chains, functions, listeners and types.
Here is an example of the descriptor for the flow other
:
{
"flowModelVersion": "18.1.5",
"id": "other",
"description": "Flow other",
"defaultPage": "start",
"types": {}
"variables": {},
"chains": {},
"eventListeners": {}
}
All pages of a flow can access variables, chains, functions, listeners and types defined in the flow. Defining these elements in the flow allows you to share definition and objects that are used across multiple pages in the flow.
Property | Description |
---|---|
defaultPage |
The In the example application above with the flows In the descriptor for the flow |
types | Pages can address a flow type using the "flow:typeName" syntax, where typeName is a type defined in the flow.
|
variables | Flow variables can be addressed in any expression in the page using $flow .
|
chains | In a callChainAction , pages can address a flow chain using the "flow:chainId" syntax.
|