Flow Settings
Every flow has a settings that can be configured via the settings tab.
The following settings are available:
- Flow name
- Synchronous
- Tracing
- Environment Variables
Flow name
The flow name can be changed after creation, but the name has to be unique. Saving the flow is not possible when the name is not unique.
Synchronous
By default this setting is false so it means the flow is asynchronous. When a flow is asynchronous all messages will pass through a queuing mechanism for every component in a flow. This means that the messages are stored in memory until the next component has received and acknowledged it. This way Dovetail can guarantee the correct processing and delivery of all messages. This is also the recommended setting.
You can also configure your flow to be synchronous. When you configure your flow to be synchronous, the output of the last component in your flow will be used as a response to the first component. The synchronous approach will not use message queues to communicate between components, but will directly communicate with each other. Please note that this can increase load and will reduce the ability to scale the Dovetail system. This is only useful for specific use cases.
Tracing
By turning tracing on, all exchanges between components will be logged. These logs can be viewed in the Flow Manager. The logs will only be stored during the set period, after that it will be deleted.
Environment variables
To work with specific variables in the Test and Production environments you can define some environment variables. These can be used for many purposes, for example: usernames, passwords, URL's,... Environment variables can be used in components by using the following notation:
#{name}
When the flow is installed these variables will be replaced with their actual values.