Hi
I cant get my head around the insight groovy.
What I need help with is a simple code snippet on how to fetch attribute values from references.
1. user select an object (customer) in an insight select list.
2. groovy script fetches the selected customer object (postfunction)
3. through the object find the reference attribute
4. use the reference attribute to find all referenced objects (contact person)
5. make a loop to take action on all referenced object attribute (in this case email attribute to send an email)
would very much appreciate help with how to do this.