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

Last Updated: 06/18/2018 Introduced in Version: 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.
*Note custom codes are located here: C:\Program Files\Decisions\Decisions Services Manager\Instances\Control\CustomReferences
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