Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Workflow Notifications not received

Posted on by 205

Dear all,

I know this question\issue has been already discussed in some topics in this forum. However, I couldn't solve my issue with any.

I have created a workflow for the posting of a vendor invoice. The workflow itself is running correctly. Also, when the workflow dispatches a certain Work Item to a certain user, that user receives an notification, both in the 'Messages' on the top right corner and under the 'Work Items Assigned to Me'. No email is received.

In the Workflow configuration, I have set notifications such as a notification to be sent to the Workflow Originator when the Workflow is "Completed" or a notification to a certain user group when the workflow is "Stopped". However, this configurations are not being received. In the user options, I have the notifications active. 

I don't require an e-mail to be received (I don't mind it, but it is not a requirement), but I do need a notification\message to be received. 

How can I make this happen?

I appreciate all the help in advance.

  • Suggested answer
    Junaid Idrees Profile Picture
    Junaid Idrees 12,746 on at
    RE: Workflow Notifications not received

    Batch Jobs status is correct. What do you mean by company accounts is usmf and not the legal entity you are using? Please clarify.

    Are you using on-Prem or on-Cloud?

    Can you check with your IT/Infra team if Exchange mail server is properly configured.

    If you would select SMTP then system will use Outgoing mail server setting, In that case please make sure your POP/IMAP/SMTP port setting is correct.

  • Afonso Rodrigues Profile Picture
    Afonso Rodrigues 205 on at
    RE: Workflow Notifications not received

    Hi Junaid

    Those 3 Batch Jobs are "Waiting". In the "company accounts" column the legal entity is usmf and not the legal entity I am using. Not sure if that matters.

    The e-mail provider I am using is Exchange. In what way does that changes things?

  • Suggested answer
    Junaid Idrees Profile Picture
    Junaid Idrees 12,746 on at
    RE: Workflow Notifications not received

    Hi Pedro Rodrigues,

    It's strange that you don't receive notifications from Admin user. Just recheck please if below mentioned batch jobs status is "Waiting" or not.

    18418.JPG

    What email Provider you have selected Exchange or SMTP? That will actual control from which source email has to be generated.

    Can you also check following settings:

    1. Fix SMTP relay by updating IP list in Firewall (Ask your network team)

    2- Remove SMTP settings in system admin and reenter then, then re selecte the email and provider in "user option-->account", then disabled and re-enabled send notification in email in" user option-->workflow"

  • Afonso Rodrigues Profile Picture
    Afonso Rodrigues 205 on at
    RE: Workflow Notifications not received

    Update:

    I had to change the configurations I mentioned in the previous comment, since, if the configurations are like I have motioned, I also do not receive the notification for the new work items.  So, instead of setting the admin email in the 3 points I have mentioned, I had to put my own e-mail.

    This way I receive the Work Items Assigned to Me notifications, but no e-mail received when the workflow stops.

  • Afonso Rodrigues Profile Picture
    Afonso Rodrigues 205 on at
    RE: Workflow Notifications not received

    Hi Junaid Idrees

    1) I have an email defined in the System Email Templates (admin email, not mine)

    2) I have an email defined in the Organization Email Templates (admin email. not mine)

    3) In the user options I have selected an Email Provider (no ideia if its the correct one) and a sender email (again the admin email, not mine)

    I still don't get any emails, nor notifications. I only receive a notification when the WF generates a Work Item. There I get a notification under the "Work items assigned o me".

    In the WF, I have set a notification to be sent when the WF has stopped. As WF stopped I understand a scenario where the WF was approved and the system should now post the vendor invoice. However, due to some problem the invoice cannot be posted but it does not generate any work item, thus the WF stops but not completes.

    If this is correct, I should receive a notification\email as I have set in the WF configurations. No email nor notification is received.

  • Suggested answer
    Junaid Idrees Profile Picture
    Junaid Idrees 12,746 on at
    RE: Workflow Notifications not received

    Hi Pedro Rodrigues,

    Please verify following configurations:

    1.Go to System administration > Setup > Email > System email templates and Verify that the Sender email is defined.

    2.Go to Organization administration > Setup > Organization email templates

    and Verify that the  Sender email is defined.

    3. Verify your user option setting, make sure you have selected correct Email provider ID and sender email.

  • Afonso Rodrigues Profile Picture
    Afonso Rodrigues 205 on at
    RE: Workflow Notifications not received

    Hello Ramit

    Thanks for your answer.

    I think I have those configurations correctly made.

    I think I have done small progresses but still with issues.

    For what I have read, I think this Workflow notifications (when the WF is completed, stopped, etc..) must be by e-mail. I think I can be ok with that.

    1) I have done an email template in "Organization Administration > Setup > Organization Email Templates"

    2) I then went to "Organization Administration > Workflow > Workflow parameters" and selected the email template I have created.

    3) In the workflow itself, in the basic settings, I selected the email template created

    With this I face two problems:

    1) The emails are stuck in "System Administration > Periodic tasks > Email Processing > Batch email sending status". Status remains on "Waiting(0)"

    2) The email that is stuck contains the subject and message that I defined on the e-mail template, and not the message that I defined on the workflow itself. Thus, the email for when the WF is completed and the message for when the WF is stopped is the same, when it was no supposed to.

  • Suggested answer
    Ramit Paul Profile Picture
    Ramit Paul 22,300 Most Valuable Professional on at
    RE: Workflow Notifications not received

    Hi,

    Have you tested a dummy email if exchange server is sending email?

    Also, have you checked the user setup? if the user preference is other than language set in email template, workflow wont send email.

    There could be many reasons like user setup- workflow - send notification by email to be active.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans