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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Workflow Email Extension Stopped Working After Uploading Packages from Another DevBox

(1) ShareShare
ReportReport
Posted on by 188

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)
  • Subra Profile Picture
    1,247 on at
    Hi

    Could you please confirm did your extension being called when the workflow is assigned and please make sure you done the full custom model build and sync. if it's cloud hosted environment.
  • Subra Profile Picture
    1,247 on at
    Hi 

    Additionally, please don't apply package for dev box and try to connect the TFS and get your changes from one environment to another environment.
  • André Arnaud de Calavon Profile Picture
    305,643 Super User 2026 Season 1 on at
    HI Raed,

    Can you tell how you did install additional packages? Are the new customizations in the same extension model? Have you debugged your scenario using the VS Debugger?
  • Suggested answer
    Waed Ayyad Profile Picture
    9,167 Super User 2026 Season 1 on at
    Hi,
     
    Did you try to debug your code? You can debug the workflow as in this link : debug-workflows-in-dynamics-365-for-finance-and-operations
     
     

    Thanks,

    Waed Ayyad

    If this helped, please mark it as "Verified" for others facing the same issue

  • Raed Bzour Profile Picture
    188 on at
    Thank you, All.

    After reviewing the blog, I discovered that the issue was caused by the data. I debugged the problem and was able to identify the bug.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 681 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

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

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 579

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans