locked
Invoke a workflow for all accounts in an organization RRS feed

  • Question

  • Hello,

     

    Is it possible to start a certain workflow on all accounts in an entire organization? I've created the workflow, now i just want to active it on all accounts at once.

     

    Thanks

     

    /Morten

    Wednesday, December 3, 2008 11:20 AM

Answers

  • Probably too late for the original poster, but for reference it is possible to programmatically start a workflow, by using the ExecuteWorkflow message


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk
    Thursday, May 14, 2009 1:52 PM
    Moderator

All replies

  • Hi,

    Yes it is possible to do so. Make sure you checked the "On demand" checkbox in your workflow. This makes the workflow to run on Demand. Go to your accounts ,select all the accounts and then click on the "run workflow button" in the tool bar. That should work. 

    Thnaks,
    Shonai
    Wednesday, December 3, 2008 12:59 PM
  • I have over 5000 accounts in the system and it only display 50 each page. I want to run it on all the accounts, not just 50 of the time.

     

    Wednesday, December 3, 2008 1:13 PM
  • The maximum possible is 250 records per page. Not more than that. 
    Wednesday, December 3, 2008 1:21 PM
  •  

    And it's not possible to invoke the workflow from code? Also how do i make it display 250 records instead of 50.
    Wednesday, December 3, 2008 1:32 PM
  • To change the number of records from 50 to 250.. On the main page of your CRM, on the application toolbar you see a button  Tools,under that click options there you can select the number of records to be displayed under a page. 

    A custom workflow is an option..Not sure if it works effectively.

    -Shonai
    Wednesday, December 3, 2008 5:05 PM
  • Probably too late for the original poster, but for reference it is possible to programmatically start a workflow, by using the ExecuteWorkflow message


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk
    Thursday, May 14, 2009 1:52 PM
    Moderator