You could create formula like this:
spec = :param << Get Property("Spec Limits");
If(:param < spec["LSL"] | :param > spec["USL"],
"FAIL",
"PASS"
);
but depending on how your data is structured and what you want to do, this might not be the best solution. Attached datatable should have the formula already there
-Jarmo