Overview and Key Concepts
The FloWorks action activity is similar to the Custom Code activity. It may be used to implement any logic for which no standard Process Flow activity exists, or for which configuring such an activity would be too cumbersome.
It has a different icon to distinguish FloWorks actions from other Custom Code activities. In addition the list of dropdown options in the Custom Code field is geared towards FloWorks actions, as shown in the screenshot below.
The FloWorks action activity only allows one connector out. See Adding and Connecting Activities for more information.
The following image shows properties for the FloWorks action activity:
Each of these properties will be explained in the following sections.
Used to change the name of the activity. See Name for more information about this property.
The Font button opens a window to edit the activity's background color and font properties. See Font for more information about this property.
The Statistics button opens the activity's statistics window. See Statistics for more information about this property.
Use the Custom Code box to choose the custom code that should be executed when a token enters this activity. You can use pre-defined code templates (picklists) or write your own custom code if you are comfortable with Flexscript.
To use a picklist, click the Add button next to the Custom Code box to open a menu listing different picklists that are currently available for this object. Try clicking on this menu and exploring some of the different options to see what's available.
Alternatively, if you are comfortable with Flexscript and want to enter in your own custom code, click the Code Editor button next to the Custom Code box to open the code editor. In the code editor, you would enter in the code you want the activity to execute every time a new token enters the activity.