Hi community,
I have a Java task listener that I’m trying to make generic. It will send an e-mail based on a ‘template’ field and n other fields based on the template. For example, if template field is set to value ‘template1’, the modeller will know to also configure fields ‘field1ForTemplate1’ and ‘field2ForTemplate1’.
In the Java class I can inject the ‘template’ field explicitly. How can I inject all the other fields without knowing the keys at compile time or inject a field ‘variables’ that can be configured to contain multiple variables?
Thanks!