web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2011 - Custom OnDemand workflow on selected records of a view

(0) ShareShare
ReportReport
Posted on by 395

Hello everyone,

I have a question regarding custom OnDemand Workflows. There is a business requirement, that the user selects one or more records in an entity view and starts a process to send some automated E-Mails based on the information of these records. 

My question is:

Is it possible that I create a custom OnDemand workflow, which executes on the selected records of a view (via the native Workflow Ribbon Button of the View), but run the Workflow only once? I need some grouping logic on the selected records so there will be no E-Mail per record but the amount of E-Mails will be less then the selected records...

So technically I need following possibility:

User selects many records of a view

He triggers himself the workflow through the ribbon button on the view

I get all the selected guids in my workflow and run my logic, send my E-Mails

But, the workflow which the user runs is only executed once and not once per selected record

Thanks for any help on that

Regards

John 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    Workflow will run for every record that you will select, unless you will manually call workflow through java script, so you need to implement your logic without workflow, one option could be to read selected records id using parameter and use javascript function to execute your logic and send email to all of the selected record.

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans