web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Workflow Email Extension Stopped Working After Uploading Packages from Another DevBox

(0) ShareShare
ReportReport
Posted on by 157

Hi everyone,

 

I have a CoC extension on EventNotificationWorkflow.create() that sends custom HTML emails when a PO workflow work item is assigned. It was working perfectly until I uploaded packages from another devbox into my environment. After the upload and data integration, the email completely stopped sending — no outgoing email log entries, no errors, nothing.

[ExtensionOf(classStr(EventNotificationWorkflow))]
final class EventNotificationWorkflow_PurchaseWorkflowTemplates_Extension
{
    public EventInboxId create(boolean _isGlobalEmailTemplate)
    {
        EventInboxId inboxId = next create(_isGlobalEmailTemplate);
        if (record.TableId == tableNum(PurchTable))
        {
            PO_WorkflowEmailSend::send(record.RecId, inbox.UserId);
        }
        if (record.TableId == tableNum(PurchReqTable))
        {
            PR_WorkflowEmailSend::send(record.RecId, inbox.UserId);
        }
        return inboxId;
    }
}

 

What I've confirmed:

Running on a dev box, Workflow work items are created correctly, Batch jobs are running, Email template exists, Recipient has valid email, Code compiles with 0 errors and No entries in outgoing email log after workflow submission


     

What changed:
I uploaded and installed packages from another devbox into this environment. After that, the PO workflow email stopped sending completely — even though the workflow itself still works fine.

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 621

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 592 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 301

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans