Flow steps and rule steps (simple) : default parameters and custom editors

Last Updated: 12/05/2015 Introduced in Verision: 2.0
When creating simple decisions steps by registering public methods, you may also set default values for the inputs of those methods. This allows Designers to still change these input values, but populates the inputs with default values when the step is first used.
If you were writing a step to upload a file to an FTP server and wanted the FTP server address and port populated by default you would create options paramenters for those two inputs. Your method would look something like this:

When Designers first place this step in a flow, the serverAddress and serverPort inputs will be populated as shown below. 

Custom editors can also be supplied on property values in the same manner.


Additional Resources