Assign back to previous assignee

Post Function 1:

string [] testers = usersInRole("TEST", "Product Development Tester");

assignee = testers[0];

Post Function 2:

string [] h = fieldHistory(key, "assignee");

string a;

if(isNotNull(h[1])) {
    a = h[1];
}
else {
    a = h[3];
}

assignee = a;

See also