From within some spel code run by a trigger I would like to be able to determine which future Attached Service Type Events on an Incident/Request ticket are likely to apply (e.g. are for the appropriate status). To do this in a flexible manner I need to be able to evaluate the spel code in the Site-Defined Condition Macros linked to the events, is there a way to do this? So I really need to be able to execute some spel code that is stored in a variable and get the value that it calculated. Is some languages this is termed "Dynamic code execution".
Is this possible in spel?
Thanks in anticipation,