I scheduled a notification for an event program I designed, but unfortunately, the notifications are not being sent immediately after the form is completed. You’ll need to resubmit for the notifications to be dispatched.
I believe this error occurs because the option for when to send notifications is set to program stage completion. However, event programs don’t include program stages.
After creating the notification template when creating the Program Notification, did you create a program rule and in the action made sure that the action uses the template:
Thank you for getting back to me. I’ve followed the same steps, but unfortunately, it’s still not functioning as expected. The tracker program with the program stage operates flawlessly, yet the event doesn’t send emails unless I submit it a the same event a second time.
I’m providing logs for context. On the first line, here I created the event. From the second line onwards, I had updated the event (not changed anything, just edited, then saved again) and received the email.
@Gassim we are actually working on the same DHIS2 instance. 2.37.10
It’s not sending the email upon the first creation of the event. It is only sending the email after you create the event, then edit and save it again. I hope I am being clear.