Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Workflows Not Executing

Posted on by Microsoft Employee

Hi everyone,

I'm the system admin for our team's CRM online 2016. I recently created a workflow to send an email when a new lead is created. Whenever I (the admin) create the lead, the workflow executes as it should. However, when a team member with less permissions creates a new lead, the workflow fails. The workflow's scope is set to organization, so I am not sure where the problem is. My initial thoughts are it has something to do with permissions but not certain where specifically to look. Any help would be greatly appreciated.

Thanks!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflows Not Executing

    Hi Raz,

    When you say change the workflow to execute as user, are referring to the From field from the email template and setting the dynamic value as Owning user, or do you mean change the Workflow scope to User instead of organization. (If it's the latter, will that not just limit the workflow to only fire when the workflow owner triggers it?)

    Thanks,

    Chad

    PS. Appreciate your help on this :

  • Suggested answer
    razdynamics Profile Picture
    razdynamics 17,304 User Group Leader on at
    RE: Workflows Not Executing

    Hi Chad

    This occurs because you Need to Remove the Sender of the Email in the Email Template / Body,  The Workflow will Send as the Workflow owner, or you need to change the workflow to execute as user and it will send the email as that user.

    Give it a try, and let me know if you need any further help :)

    Best Wishes, Raz

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflows Not Executing

    Hi Raz,

    Attached are screenshots of the list of system jobs and also the error message received from one of the workflows with Status Error of "waiting to retry due to error".

    Thanks,

    Chad

    0676.System-Jobs.pngError-Details.png

  • Suggested answer
    RE: Workflows Not Executing

    Hi Chad,

    Can you provide your error log file & check with the system job for workflow,what it is showing.

    Please check with this link :community.dynamics.com/.../111443

    Hope it might help you...

    Thanks

  • Suggested answer
    razdynamics Profile Picture
    razdynamics 17,304 User Group Leader on at
    RE: Workflows Not Executing

    Hi Chad

    It will help us to determine if it is actually a security role issue or not If the Workflow is not firing at all it will not show in the records Background Processes, Can you please check to confirm?

    If It is Firing, then which part of the workflow is it failing on, Please provide screenshot of Background process

    Best Wishes, Raz

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,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans