Select Oldest Item Pseudo Code

For each decision

  If the decision is still possible

    Get the specified attribute item

    If item found that matches specified item class

      Get the attribute value

      If attribute was found

        If the present attribute value < the lowest yet

           Set lowest yet to present attribute value

           Store decision offset

        End if

      End if

    End if

  End if

Next decision

If a decision was found with a lowest attribute

  Eliminate all decisions but the one with the lowest attribute

Else

  If we didn't find any items with specified item class

    Eliminate all decisions

  End if

End if

Exit sub

 Note: If no items of the specified item class are found in any of the decisions source regions, then all decisions will be eliminated.

The Logic module will exit after this block.

More information

Select Oldest Item.