locked
How to pass selected records to the custom workflow for updation? RRS feed

  • Question

  • I want to achieve bulk update type of functionality for my custom entity and so for that i have created a dialog process which takes input for those attributes which i need to update and then i have invoked a custom workflow for updation purpose but it updates all the records of my custom entity, i want to update only the selected records with the input provided.

    Is there any way to achieve my requirement using the same strategy ?
    How can i pass selected records to the workflow ?
    Thursday, November 19, 2015 7:53 AM

All replies

  • A limitation of dialogs is that they can only run on one record at a time. If you require user input, and need this to apply to multiple selected records, then you can create a web resource to do this. To run the web resource, create a ribbon button and add a CrmParameter with value=SelectedControlSelectedItemIds to pass the selected records

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Thursday, November 19, 2015 12:08 PM
    Moderator