Home > Forum > Actions > Send a custom email - Selecting addresses by SQL/CAML query

Send a custom email - Selecting addresses by SQL/CAML query
0

Hi,

I want to use the action - Send a custom email and get email addresses from a Dictionary.
I checked "Selecting addresses by SQL/CAML query" and as Data source: i chose my Dictionary
When i write a SQL query it doesn't filter. It shows all columns and rows.

In my workflow i have a choice field Vendor name (from a Dictionary - it contains Vendor Name, Vendor Email). When i pick that vendor, i want to send an email to that vendor.

Can you help? Thanks.

In reply to: AndreeLl B

Can you help giving an example of yours? thanks

Hi,

I'm assuming you're writing the email in a column on your field, if not, you need to change your field to picker option and in the config window, copy the email field into a form field in the workflow.

My query is getting users from a item list as an attendee list:

select distinct FORM FIELD IN ITEM LIST from WFElementDetails
where DET_WFDID={WFD_ID} and DET_WFCONID= ID of the ITEM LIST

Hope it helps

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.