Here is a set of triggers that will help you determine a missing Trap number in a Greyhound race where a runner was withdrawn.
This is the situation I am talking about:
Download Greyhound missing trap triggersYou can add this block of triggers to your trigger file and use the
missing_trap variable in your triggers.