Skip to content

Input Queue Logic and Capacity Logic

Many steps have room for any number of cases, and only the staff are short. At such a step every case walks straight in and waits for staff inside, so the report shows no line, only a very full step. Two headings in the activity’s logic put the wait where it belongs: in the line.

  • The lines under Input Queue Logic run as each case joins the step’s line. Ask for staff here.
  • The lines under Capacity Logic run when the case has a place at the step. The work goes here.

Type each heading alone on its line. Letter case and spacing do not matter, but leave out a colon. Type Inp or cap in the Action Logic Editor and the list offers the headings, one at a time or both ready to fill.

Input Queue Logic
GET 1, "Team"
Capacity Logic
TIME 30 min
FREE ALL

A case waits in line for one of the team, works with that person for 30 minutes, and lets the person go.

The Action Logic editor for Activity 1, with the heading Input Queue Logic over GET 1, Team, and the heading Capacity Logic over TIME 30 min and FREE ALL. The first heading has a blue underline, and the status bar reads No issues.
Figure 1. Both headings in the editor. The blue underline is a note, not an error.
  • Input Queue Logic comes first. Capacity Logic may stand alone.
  • Once there is a heading, every line sits under one. Only comments and blank lines may come before the first.
  • Give the step room: ask for staff in the line only when Capacity is 999,999 or Unlimited, so a case never holds staff while it waits for a place.
  • Input Q. may stay at 0. The step is given a waiting line while the model runs.

A Case Work Step arrives with both headings written.

This is one model run both ways. A case arrives every 10 minutes for 24 hours, and one person takes 30 minutes on each. The activity has a Capacity of 999,999 and an Input Q. of 0.

On the Activities tabWith the headingsGET, TIME and FREE ALL with no headings
Average in queue48.00No queue
Most in queue96No queue
Average wait480 minutesNo queue
Entries49145
Exits4848

The same 48 cases are finished either way, and the person is as busy. With the headings, the 96 cases still waiting show as the step’s line. Without them, they count as inside the step.

An error stops Simulate and holds back Save. A warning or a note does not.

MessageWhat to do
A line above the headings. “Line 1 is above the first heading. Once a step’s logic has headings, every line must sit under one.”Move the line under a heading
The wrong order. “Capacity Logic is on line 1. Move Input Queue Logic and its lines above it.”Put Input Queue Logic first
A heading twice. “Line 5 repeats the heading Capacity Logic. Each heading may appear once.”Keep one
A colon. “Remove the colon after Input Queue Logic on line 1.”Take the colon off. With a colon and no other heading, the message is “Unknown statement ‘Capacity’ on line 1.”
A TIME in the line. “A case cannot spend time while it waits in the line, so its time at the step would come out short.”Move the TIME under Capacity Logic, or hold staff for a time with USE and FOR
Staff held in the line. “Activity 1 has 1 place, and each case in its line takes staff under Input Queue Logic and holds them until it reaches that place, so the staff read busy while they wait.”A warning. Move the GET under Capacity Logic at a step with a limited Capacity
Nothing under the heading. “Nothing follows Input Queue Logic on line 1.”A warning. Write the lines, or remove the heading
A waiting line. “While the model runs, this step is given a waiting line, so the lines under Input Queue Logic run as each case joins it.”A note, with a blue underline. Nothing to do

The headings do not run inside a group that runs on its own event list. Take the step out of the group, or turn off Run on Separate FEL for the group.

Tools ▸ Convert Steps writes the headings for every step in the model that takes its staff in its logic. The window lists each step with what will happen to it, and nothing changes until you press Convert.

The Convert Steps window: 2 steps will be converted, 4 steps will be left as they are. Decide and Check the file will be converted. Register the claim already has the headings, Review has a Capacity of 2 places, Send the letter has an Input Q. of 50, and the first GET of Call the customer sits inside an IF block. Cancel and Convert are at the foot.
Figure 2. Convert Steps: two steps to convert, and why the other four are left.

The lines up to and including the step’s first GET go under Input Queue Logic, and the rest under Capacity Logic. The step’s Capacity becomes 999,999.

  • With no case work view on, that is all it changes.
  • With the Case Work at Volume view on, each converted step also becomes a Case Work Step, with its Line tab. A step that already has the headings is only marked: “Will be marked a Case Work Step.”

A step is left as it is, with the reason beside its name, when:

  • Its Capacity is a real limit, such as 2 places, or is blank or a name. Set it to Unlimited to convert the step.
  • Its Input Q. is not 0, so its cases already wait in a line of its own. Set it to 0 to convert the step.
  • Its first GET is inside an IF, WHILE or REPEAT block, which the headings cannot split. Move the GET out of the block.
  • It already has the headings, or is already a Case Work Step with its headings.
  • A scenario changes its logic or its Capacity.
  • The case work view is on and something leads into the step that a Case Work Step cannot take: see What may lead into it.

A step with no GET is not listed. With nothing to convert, the window says so and has only Close. One Undo takes the whole conversion back.