3.11 – Action Logic
ProcessModel allows you to design custom behavior in your model by using action logic in which you enter simple but powerful logic statements. Action logic allows you to define special logic that may not be easily defined using the normal property fields. Examples would include assigning values to attributes and variables or performing a test using an IF…THEN statement.
Action logic can be defined for any activity, storage, arrival or routing by clicking on the Action tab of the properties dialog.
Depending on the object or connection for which the action is defined, only certain statements and other logic elements are meaningful and therefore valid. The valid statements and logic elements (variables, attributes, resources, distributions, operators, and scenario parameters) are available via the Keywords and Filters () dialog. These statements and elements may be pasted from the list box into the action window to help you construct the desired action logic.
You may also start typing your saved attributes, variable, scenarios, scenario parameters, activity, entity, resource names or any of the ProcessModel supported statements, functions or distributions to see a help menu popup to help you easily populate what you wish to add.
Paste elements into the action window
1. Click the Keywords and Filters