vsTASKER 7 User Manual
×
Menu
Index

Properties

 
Properties
1

Name

1. Name
Name of the Choice inside the logic.
This name can be used to retrieve the object (instance) in case user wants to activate it from source code.
 
2

Group

2. Group
If the Choice is part of a Group, it will be named here.
A Group can also be part of another Group, thus, a Group name will be the concatenation of all nested Group names: group1::group2::..::group3 (here, group3 being the deepest one).
 
3

Invert True/False

3. Invert True/False
Inverses graphically the two connectors. Can be useful to avoid crossing lines
 
4

Color

4. Color
Set here the background color of the Choice symbol.
You might also personalize the default color to highlight some specific choices or associate color with functionality or priority.
 
5

When Done

5. When Done
Inform about the kind of connection set for the Choice after one leg (YES or NO) is triggered (meaning, when return YES or NO is encountered) in the runtime part:
 
  • Connect: the Choice is connected to another object of the Logic
  • Done: once the Choice is finished, the logical flux is done for this one. The Choice will not trigger any other object
  • Quit: the Logic is left (and returns to the Behavior level) or the group is left (if the Choice is embedded into a group)
  • Nothing: Similar as Done but no event will be triggered
     
6

Throw Event

6. Throw Event
When the Choice is over (and if Perform mode is not Nothing), an event can be raised.
Click here to set (or unset) the event.
 
7

Condition

7. Condition
Put here the condition code that will return either YES (condition passes, triggering the Yes leg) or NO (condition fails, triggering the No leg).
The code can contain more than just a if (..) then .. else ..; structure. Variables can be defined here (local one) and computation can be performed before returning the final value. The Condition code can access all vsTASKER API, all included third-party APIs and all user designed Scenario, Entity, Logic, Knowledge and Model data of the current database.
 
8

Help

8.
Put here whatever description of information useful to the designer to understand what the Choice is about.
The help part is also used in the hint and the automatic document generation (see Make Documents).