Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Processes

Posted on by 65

Hi Community,

I have created a processes for an entity called Client Meetings which sends an automatic email when a report field is selected. The process worked until recently, but has now stopped. I created a new process, identical to the original which now works, but is sending duplicate reminders when the report field is selected. It only allows one owner to create the client meeting too and if anyone else creates one, the processes does not work at all. Do you know why this might be? I am unsure why so many reminders are being sent. Could you please confirm? Any help would be highly appreciated. Many thanks. 

*This post is locked for comments

  • Verified answer
    Mouncif Profile Picture
    Mouncif 91 on at
    RE: Processes

    Emma,

    Please check security roles of the workflow owner. it must have right to this privilege "Send Email as Another User" (under business management tab).  

    And for each user this must be enabled to send email on their behalf.

    2018_2D00_12_2D00_20-15_5F00_30_5F00_29_2D00_Dashboards_5F00_-Contracts-overview-_2D00_-Microsoft-Dynamics-365-_2D00_-Internet-Explorer-_2D00_-_5B00_I.png

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Processes

    Can you share the property of your workflow? This error occurs if you are trying to send email on behalf of someone else i.e. you have selected someone in the From field. Instead of that you can either create a queue and set the permission or dynamically set it to the created by of the record.

    Hope this helps.

  • Suggested answer
    Alexandr J.  Profile Picture
    Alexandr J. 246 on at
    RE: Processes

    Hi,

    Here you can find solution for your error with sending.

    community.dynamics.com/.../211574

    Kind regards,

    Alex

  • Emma H Profile Picture
    Emma H 65 on at
    RE: Processes

    Hi Moncef,

    Thank you for the above. I have completed all of the steps and have amended the workflow to display what you have said below, but it is still not working for the other users. I have checked the Process Sessions and those created by others are currently 'waiting' and once clicked into them, they all have error messages stating ' You cannot send email as the selected user. The selected user has not allowed this or you do not have sufficient privileges to do so. Contact your system administrator for assistance.' I have amended all of their roles / security to mirror mine (as the work flow works for me) but it's still not working. Could this be down to something else?

  • Suggested answer
    Mouncif Profile Picture
    Mouncif 91 on at
    RE: Processes

    Hi Emma,

    If the scope is set to Organization, everyone should be able to execute the workflow. if your trigger is record creation so whenever a user create a record, the workflow will be triggered. It will work for everyone. (one workflow only for all organization).

    Please mark this as answered if it's helps you to fix your problem.

  • Suggested answer
    Alexandr J.  Profile Picture
    Alexandr J. 246 on at
    RE: Processes

    Hi,

    you don't need any duplicate workflows, just set the scope to Organization and workflow will work for all users.

    Check your setting "Start when:" there should be "record is created".

    [View:https://prnt.sc/lxf1p6:320:50]

    Kind regards,

    Alex

  • Emma H Profile Picture
    Emma H 65 on at
    RE: Processes

    Hi Moncef,

    Thank you for the below. If I am the owner of a work flow, can other users of the CRM create new records and the workflow work for them too? At the moment, only if I create a meeting the work flow works but if other create one, it doesn't. Do I have to create work flows for who ever is adding information or ask others to create identical work flows, but in their name, for them to work? Many thanks!

  • Suggested answer
    Mouncif Profile Picture
    Mouncif 91 on at
    RE: Processes

    Emma,

    Let your workflow to be executed in background and test.

  • Emma H Profile Picture
    Emma H 65 on at
    RE: Processes

    Hi Moncef,

    Thank you for the below. I have put the process to an Organization, but where would I find the Async process?

  • Suggested answer
    Alexandr J.  Profile Picture
    Alexandr J. 246 on at
    RE: Processes

    Hi Emma,

    from your informations i understand that your process (WF) is running in the backround and it starts when field value of custom field (report field as you wrote) is changed and you have "If" your report field = yes, then send e-mail. Do you have some custom field for mark record as "Notification send"? It's good to have it as next WF step after Send e-mail, next will be Update record and just change field value of new custom field (boolean). At start of WF, you should have "if" which will controll duplicate send. 

    I'm using this as solution at few of my WF's so i can help with other questions. 

    Kind regards,

    Alex

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans