I would like to write a scripted workflow validator which checks the SLA result. I mean SLA is still in progress or it's already out of time. The validator should block the transition if the SLA is out of time and another field is empty or zero.
The object I can retrive from code is this:
AgreementOfAnIssue[timeId=61, start=Wed Mar 04 03:10:27 CST 2015, negotiatedSD=null, negotiatedDD=null, closed=true, closedTime=Wed Mar 04 10:13:23 CST 2015, frozenRanges=null, obsolete=[false, null]]
It contains the start date and the end date but what I need is a simple boolean value that indicates if the SLA was in time or not. So can I get the endresult of the SLA calculation somehow?