Hello @Mark Manders 

I'm not able to do with the filter, so i have a new approach towards it.
New & Old Choice Fields Created to the 
Test Suite Result [sys_atf_test_suite_result] Table 
A Business Rule.
When Record is Inserted The State = new
the Older records = old
This works as a Loop

I used this as the Filter Condition in the Reports 
Test Suite.Test state       is         New
But my script is Not working Properly could you please Help me with this Script

When: Before
Inserted 
Updated


(function executeRule(current, previous /*null when async*/) {

//     // Set the state of the new record to "new"
 if (current.isNewRecord() || current.number != previous.number) {
//         // Set the state to New for the new test suite result
       current.u_test_state = 'new';

//         // Query to find all previous test suite results
     previous.addQuery('sys_id', '!=', current.sys_id); // Exclude the current record
       previous.query();
        while (previous.next()) {
//             // Set the state to Old for all previous test suite results
            previous.u_test_state = 'old';
           previous.update();
       }
 }
})(current, previous);