I have setup a dialog related to a service activity that asks the user for some information, about 5 questions, regarding the service activity they performed. Getting the information and saving it is no problem. What I am having an issue with is how do I retrieve the emails for the contacts related to the account for the service activity? The contacts who need to receive the emails all have a radio button related to "Receive Technical Emails - Allow" so I know which ones they are I am just not sure how to get them in the Dialog. I was looking at the Query CRM data in the dialog, but am unsure on how I tell it to use the account from the service activity that is currently being worked on. Am I going in the right direction or is there a better way?
↧