Interestingly if I use the below, the IsName attributes value is returned suggesting that this should be possible.
import System static def GetAttributeValue(Reminder): try: msgtyp = "New - Incident - CLA01300" tmp as object = Reminder.GetNamedObject("Process._TemplateMessages", "New - Incident - CLA01300") output = tmp.ToString() return output except e: return String.Format('Error on {0}: {1}', e.StackTrace.Substring(e.StackTrace.LastIndexOf(':') + 1), e.Message)
A potential workaround to this occurred to me which is to create an additional collection which is populated before the reminder which basically consists of the GetNamedObject calculation to get the required template and then just use runtime values to get the subject and body from the latest collection item.
This isn't exactly clean though and requires lots of additional process design changes across all modules .