Skip to main content

PRIORITY

action : PRIORITY( value ) ;

actionAn action (typically OUTPUT) that will produce a result.
valueAn integer in the range 0-100 indicating the relative importance of the action.

The PRIORITY service establishes the relative importance of multiple actions in the workunit. The higher value an action has, the greater its priority. The highest priority action executes first, if possible. PRIORITY is not allowed on attribute definitions, it must only be associated with an action. Only available if workflow services are turned on (see #OPTION(workflow)).

Example:

OUTPUT(Person(per_st='NY')) : PRIORITY(30);
OUTPUT(Person(per_st='CA')) : PRIORITY(60);
OUTPUT(Person(per_st='FL')) : PRIORITY(90);
  //The Florida

See Also: OUTPUT, #OPTION