Modeling How-To's > Routing Modeling > Prioritizing Access to an Activity

Prioritizing Access to an Activity

If two or more different activities feed to another activity that is currently unavailable, you may want to prioritize the order in which routings get access to the activity when it becomes available.

 

The model used for this example, as well as all of the modeling "how-to" examples, can be found in the ProModel Solutions Café (http://www.promodel.com/solutionscafe/howto/). A video demonstrating this solution can be found here.

Solution

  1. Define a resource which will be used merely for determining which entity gets to route first.
  2. In the Properties dialog for each activity where the entities are routing FROM,* define a GET statement in the activity Logic where this resource is specified by priority. (If entities are coming from the same activity, you will need to define IF-THEN logic to determine which entities should get the resource with the higher priority)
  3. In the activity where these entities are routing TO, define a FREE statement as the first statement in the activity logic.

*Since Logic statements are executed BEFORE any activity time that is defined in the Activity dialog, be sure to define any activity time in the Logic Builder instead of using the Activity Time field.

Example

Two different claim forms (High Priority and Low Priority) are routed from an Incoming box (with no activity time) to an Approval process, but you always want to allow the High Priority claim forms to route first.

Solution

Logic builder for the In-box activity.

Logic builder for the Approval Processing activity.

Notice that a resource called Gate Keeper has been defined to regulate which claim form gets to route from Incoming to the Approval process first. In the Logic Builder of the Incoming activity, if the entity is a High Priority claim, it gets the Gate Keeper with a priority of 1; otherwise, it will get the Gate Keeper with a priority of 0. In the Approval activity the Gate Keeper is freed.


© 2014 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com