Label Editor

The label editor is a single user interface for creating labels, action labels and using them on objects. It also provides an intuitive way to see where all your labels are being used in a simulation.

To Locate this feature go to Data & Rules tab then the Work Items section and select ‘Labels’. Upon opening you will be presented with a dialog with four sections:

  1. Create
  2. Object
  3. Actions
  4. Controls

Label Editor

1. Creating a Label

To create a label, select the Add Label button under the create section, upon selecting you will be presented with a dialog to enter the label name and chose the label type. For more information on label types see Labels. When you have added the label it will appear in a list under the 'Create' section.

Label Editor Adding a Label

2. Adding an Object

Once you have created a label, the 'Add Object' button will become enabled. Selecting “Add Object' will open a dialog containing a list of all objects in the simulation. Select the object you wish to do something with and press 'OK'. Once selected the object will appear under the 'Objects' section.

Label Editor Adding an Object

3. Action a Label

After adding an object you are now able to add a Label Action, actions allow you add a value to a label which you can then use to control various parameters in a simulation. For more information see Actions. To add an Action select the 'Add Action' button, this will open the Action dialog for the object selected under the 'Object' section and will pre-populate the list with the label selected under the 'Labels' section. Select which action you wish to perform on the label and click 'OK', all actions associated with that object and label will appear in a list in under the “Action” section.

Label Editor Adding an Action

4. Adding a Control

It is important to note that you can add either label 'Actions' or 'Controls' to an object, you are not required to do both. A label control is a way in which an object's behaviour is controlled using a label value. For a more information on using label see Using Labels.

The 'Control' section of the dialog will be automatically populated with all the controls available to the selected objected. Each object has different controls available:

Start Point

Queue

  • Shelf Life - control how long a Work Item can usefully stay in a queue based on a label value.
  • Priortize - control the order of Work Items in a queue based on a label value.
  • Segregate Results - control how results are segregated by a label value.

Activity

Conveyors

To add a control, select the relevant button or checkbox, the label highlighted under 'Label' section will be automatically added for your use in the control. Please reference the guides above for further information on how to use each control. Once a control has been added, the 'In Use' checkbox will be checked, in the image below it shows that 'Activity 1' is using 'Route Out By Label'.

Label Editor Adding a Control