Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Workflow doesn't work on the the bulk update records

Posted on by 102

Hi Expert,

I need import bulk contacts records into CRM with Wizard and update only one column - Eligible (two options) - from No to Yes. Once update to Yes, I want to trigger an workflow to add a message to Note.

The workflow is like below (Thanks the help from Nya)

pastedimage1611697274915v1.png

It works only when I create a new record in CRM, but not works on the bulk imported records, even the Eligible is updated from No to Yes, not trigger the workflow for adding the Note.

Appreciate all the response. Looking forward to hearing from you.

  • DATAGREE Profile Picture
    DATAGREE 102 on at
    RE: Workflow doesn't work on the the bulk update records

    Thank you so much. It's very helpful!

  • Verified answer
    PabloCRP Profile Picture
    PabloCRP 1,086 on at
    RE: Workflow doesn't work on the the bulk update records

    First we need our custom field (you already have it)

    pastedimage1611723312943v1.png

    Then I need to Create a new workflow on contact entity

    pastedimage1611723327259v2.png

     

    We need a Check Condition

     pastedimage1611723336571v3.png

    Then create the condition (Note: IsElegible is the name of my field)

     pastedimage1611723344004v4.png

    Then add a step for create a related record (Note)

    pastedimage1611723353878v5.png

    select Create,  in the dropdown menu Note and set the properties you need, in my case i just set the title to “This note was created by a custom WorkFlow”

     pastedimage1611723417734v6.png

    Finally you can add one  more step Stop Workflow Success (optional)

     pastedimage1611723428253v7.png

     

    My WF looks like this

    pastedimage1611723436600v8.png

    Save and activate

    pastedimage1611723444908v9.png

    Now I’ll download a contact template and i’ll import my Excel in “Data import” in my D365 tenant

     

    My Excel

     pastedimage1611723458108v10.png

    pastedimage1611723470983v11.png

    So once I added I should have Homer, Bart and Lisa as contacts and Just Bart should have the note called “This note was created by a custom WorkFlow” as related record.

    pastedimage1611723477937v12.png

     

     

    Bart has a note

    pastedimage1611723493607v13.png

    Neither Homer nor Lisa have a note

     pastedimage1611723502644v14.png

    pastedimage1611723507399v15.png

    So the Work Flow it’s really working on the create of the record contact and it is validating if the IsElegible is set to True. Or whatever conditions makes sense for me to create a note.

     

    But wait what if I’d like in the future edit any contact record by myself, plugin,  a service or whichever way and also I want to automatically trigger my WF and create a Note related?

     

    So go back to our WF – deactivate first to be able to edit it

    pastedimage1611723531596v16.png

    Select “Record field change” and we’ll selece IsElegible Field

    pastedimage1611723539992v17.png

    pastedimage1611723549581v18.png

    Press Ok the save it and activate

     

    Now I’m going to place IsElegible field on Contac Form (It can be change by other ways)

    pastedimage1611723777186v1.png

    So if i change it to YES and save, my WF should trigger and My note should be seen

    pastedimage1611723783482v2.png

    Hope it helps

    Regards.

  • DATAGREE Profile Picture
    DATAGREE 102 on at
    RE: Workflow doesn't work on the the bulk update records

    Looking forward to hearing from you.

  • DATAGREE Profile Picture
    DATAGREE 102 on at
    RE: Workflow doesn't work on the the bulk update records

    I have tried check the box Record is created, still not work. I am not clear what is meaning of "if the field "isEligible" is set to true". Can you please explain more detail? Thanks.

  • Suggested answer
    PabloCRP Profile Picture
    PabloCRP 1,086 on at
    RE: Workflow doesn't work on the the bulk update records

    Then you should have your workflow in the create step, and validate if the field "isEligible" is set to true then create the record notes. so mark  the check the box "record is created".

    pastedimage1611706313747v1.png

    regards.

    please consider marking as an answer if it was helpful
  • DATAGREE Profile Picture
    DATAGREE 102 on at
    RE: Workflow doesn't work on the the bulk update records

    Hi Pablo.

    Thank you for your replying.

    Eligible default value is No. I import data from excel table into CRM. In the table, Eligible column value set to Yes. When the data import into CRM, the field Eligible successfully update to Yes. I use this update to trigger a workflow to add a Note to the record.

    The workflow above only works the new create record, not work any update record. That is the problem.

    Thanks.  

  • PabloCRP Profile Picture
    PabloCRP 1,086 on at
    RE: Workflow doesn't work on the the bulk update records

    Hi, So your workflow should trigger on updating your field "Eligible" set to true? Or at creating a new record through data import.

    if is on data import do you set the value to true, I mean do you have a field that maps that option?

    have you tried to check the box "Record is created?"

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans