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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans