Hi All,
I need to run On demand workflow that will send email to all contact which will come in under Advance searched criteria.Anyone having idea about it how to send advance search query inside plugin dynamically?
*This post is locked for comments
Hi All,
I need to run On demand workflow that will send email to all contact which will come in under Advance searched criteria.Anyone having idea about it how to send advance search query inside plugin dynamically?
*This post is locked for comments
You can create a custom field.
If you are using configuration (custom) entity, create a record for this and update it with this fetchxml.
Hi Tim,
You can retrieve the user query inside your plugin and then extract the fetchxml from it. Then you can execute it, obtain the output and send the email.
use following as example to retrieve User Query:
www.crmanswers.net/.../retrieve-saved-views-userquery-users.html
However, the query will be required to updated every week. Or if there is some logic behind updating the query then same can be implemented inisde plugin and fetchxml can be modified accordingly.
Thanks,
PS
weekly it will change Gopalan
weekly it will change Gopalan
It depends not sure now I am getting 300 records.
Keep one text area field on the record. Enter the fetchxml in that field and save then get it in the workflow.
Hi Tin,
Thanks for your post,
Can you please add me on skype :- mahesh.variance
We can discuss in detail
Thanks
How frequent Advanced Search Criteria would change?
What would be the frequency of Advanced Search Criteria change?
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,432
Most Valuable Professional
nmaenpaa
101,156