Editing activity properties shares many things in common with editing 3D object properties. See Editing a Property for an explanation of some of the common components of a property.
Activity properties can be edited two different ways in process flow:
This topic will discuss how to edit an activity's properties using those two methods. It will also discuss how to edit properties that have the Universal Edit feature.
To edit an activity's properties directly in a process flow:
To edit an activity's properties in the Quick Properties pane, simply click the activity to select it. When it is selected, a yellow box will appear around the activity and the properties will appear in the Quick Properties pane (on the left of the FlexSim window), as shown in the following example:
Be aware that if you have joined activities together into a stacked block, you will select all the activities at the same time when you click anywhere on the stacked block. You should also be aware that the Quick Properties pane will display the properties for all the activities in the stacked block. The properties will appear in the order they appear in the block, as shown in the example in the following image:
You can click the Collapse button
in the top left corner of an activity's
group of properties to hide those properties from view.
Many of the activities in process flow have special properties that use the Universal Edit feature. The Universal Edit feature is designed to make it easy to add complex functionality to certain properties without needing to know FlexScript.
You can tell when a property has the Universal Edit feature because it will have a blue border around the property box, as shown in the following image:
Properties that use the Universal Edit feature can accept the following possible types of input:
Each of these types of inputs will be explained in more detail in the following sections.
Keywords can act as a user-friendly substitute for Flexscript commands. Using keywords, you can set a property can access data that could possibly change dynamically during a simulation run such as labels, groups, variables, and more.
When you begin typing a particular keyword, the FlexSim system will automatically
generate a menu with possible options that could auto-complete the keyword phrase. For
example, if you want a property to use the value from a label on a token, you can type the
keyword token
. After typing that keyword, the system will search for all the
available labels that you've created in the process flow so far and list these labels in a
menu, as shown in the example in the following image:
You can then select the appropriate label from the list or continue typing the label name manually. During the simulation run, the property will look for that label on the entering token. The property will then use the value listed for that label.
The following table lists the different keywords that Universal Edit boxes can recognize:
Keyword | While Editing the Property | During a Simulation Run |
---|---|---|
Variable: |
Typing this keyword will create a menu listing all the process flow variables that have been created so far. Select the appropriate variable from the menu. | During a simulation run, this property can reference the value of a particular value. See Process Flow Variables for more information about how variables work. |
SubFlow: |
This keyword only works correctly with two process flow activities: the
Run
Sub Flow and
Create
Tokens activities. You would typically use this keyword with the Destination
property to determine which sub flow will be triggered or which sub flow should
receive the newly-created tokens. Typing this keyword will create a menu listing the names of any sub flows that you have created so far. Select the appropriate sub flow from the menu. NOTE: Most of the time you will use the sampler button ![]() |
During a simulation run, this property will trigger the sub flow listed in the Destination property. |
ProcessFlow: |
Similar to SubFlow, some activities can reference activities or shared assets in
other Process Flow objects. The text takes the form ProcessFlowName:
ActivityName . The referenced activity or shared asset must be in a general
process flow or sub flow type. NOTE: This is the only keyword that does not display
as bold. |
During a simulation run, the property will reference the specific activity listed in the process flow. |
Universal Edit boxes can accept fixed, static data that won't change during a simulation run. It includes the following standard data types:
"Token Name"
.If you are comfortable with FlexScript commands, you can still use FlexScript commands in Universal Edit boxes:
duniform(1, 10)
WHERE label < 10