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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Cannot create the workflow notification. A valid subject and message have not been provided in D365FO

(0) ShareShare
ReportReport
Posted on by 15

Hi All,

In D365fo Purchase  order work flow, there is no customization on this.

Issues :Some of workflow is stop with below error, Please help to resolve this error

Stopped (error): X++ Exception: Cannot create the workflow notification.  A valid subject and message have not been provided.
 at SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Tony,

    What version of D365FO are you on? I can't find any code in PU36 that could throw this error.

    Have you also checked if a subject and message are filled in the PO workflow configuration?

  • Suggested answer
    Ramit Paul Profile Picture
    22,797 Most Valuable Professional on at

    Hi,

    Kindly check the workflow notification setup and message as it seems missing.

  • MSTonyax Profile Picture
    15 on at

    Hi  Gunjan,

    yes , Some of workflow is working fine, few only facing this issue .  

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Tony,

    This is looking like a customized message, as I can't find it in the OOB system.

    Could you please go to Classes\SysWorkflowWorkItem\create method and see all the references of this method?

  • Suggested answer
    TracyXing Profile Picture
    on at

    check the workflow configuration, and set valid subject for this workflow configuration

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    moved to the d365 forum

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello MSTonyax, 

    Can you please check what has been entered in the following fields for all of your workflow steps?

    wf1.jpg

    Please check also the translations in case you have used a different language than your company language. 

    Also, can you share a screenprint of your workflow versions by opening the workflow setup form in D365FO?

    I wonder whether you see an error symbol for your workflow. 

    Many thanks and best regards, 

    Ludwig

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi MSTonyax,

    When you think you have entered values in these fields, then especially also look after the translations as mentioned by Ludwig. If you forget some languages used by individual users, the workflow can end in an error state.

  • MSTonyax Profile Picture
    15 on at

    Hi Ludwig,

    Yes,the problem is work item subject is not filled. Now it's working fine .

    Thanks for your command .

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi MSTonyax,

    When the answer from Ludwig helped you, would you mind to mark his answer as verified?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans