RE: How to email all the related contacts present in SubGrid?
Thanks for the ping Andrew.
ldz - you can include a query relative to some record as long as you can logically relate it back to the record your workflow is run on.
If your workflow runs on store and you want to include contacts, it would be:
The last part is missing from your queries. It's the last step in this example:
Now, if your workflow is triggered from a Contact (who is also related from the store) you'd need to do something like:
The key here is that last field level filter applied to your query. Normally it's useless because it won't change your results, and that's why I picked it. Since nobody would actually use it, Workflow Elements looks for that criteria and it swaps in the ID of your workflow record. This is how it limits out the results to just the relative ones.
If you're testing your query in the Advanced Find while you're building it, instead of using "Contains Data" swap it out with "Equals / Home Depot". That'll give you the results as if you were running it on the Home Depot record. Just swap it back to Contains Data when you want it in the workflow.
Can you give this a shot and let me know how it goes?
Thanks,
Aiden