This seems to work for me:
Wrote this as an after read attribute on Process.
import System
static def GetAttributeValue(Process):
Value = ""
if Process.Class.Name != null:
if Process.Class.Name == "Incident":
Value = Process._MinutesToBreach.ToString()
if Process.Class.Name == "Request":
Value = Process._MinutesToBreach.ToString()
return Value