ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Testing > Procedures > Writing a procedure using the procedure editor > Errors and warnings while writing a procedure > Error: Cannot schedule another test for this animal before the test starts

Error: Cannot schedule another test for this animal before the test starts

Description

This error is displayed in the list of errors and warnings at the bottom of the procedure editor when a procedure tries to use a Schedule another test for this animal action before the test has started.

Details

The Schedule another test for this animal action is only available when tests are manually scheduled. A procedure can determine that the next test for the current animal should continue immediately after this one, and can schedule the next test automatically (rather than waiting for the user to manually schedule the next test for the animal).

A procedure can only determine whether the animal's next test can be scheduled based on conditions in the current test - i.e. when the test is actually running - and so you cannot use this action before a test has started.

To prevent this error, simply move the statement that uses the Schedule another test for this animal action to be after the test starts (i.e. within the un-shaded section of the procedure).

See also:

 Errors and warnings while writing a procedure 
 Errors and warnings while running a procedure 
 Actions available to procedures 
 Test scheduling 

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0538