Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Customize error message in CRM

(0) ShareShare
ReportReport
Posted on by

In lead entity, users are clicking qualify without updating the mandatory fields shown in the process stages giving rise to the following error :

pastedimage1618798840533v1.png

Is it possible to replace this error by showing the fields to be filled instead?

  • Sankalp Sreekar Profile Picture
    on at
    RE: Customize error message in CRM

    Hi,

    Is there a way to ensure that this workflow only runs in the forward direction because, in this solution, if I want to go from a stage to the previous stage it needs me to fill in the required fields

  • Sankalp Sreekar Profile Picture
    on at
    RE: Customize error message in CRM

    Process :

    pastedimage1618973677713v1.png

    Work Flow :

    pastedimage1618973794401v2.png

    The error message from workflow is now not appearing at all :/

    pastedimage1618973868522v3.png

    When clicking qualify without filling the Mandatory fields, it is still throwing the initial error. But after populating the required fields and clicking qualify, it shows First Name not populated. When I try to save the form without first name, it throws the same first name not populated error

  • LuHao Profile Picture
    40,886 on at
    RE: Customize error message in CRM

    Hi Sankalp,

    Can you provide a screenshot of creating Lead when it doesn't allow saving the record? Is there any error? Is the error you set in the workflow or has nothing to do with the workflow?

  • Sankalp Sreekar Profile Picture
    on at
    RE: Customize error message in CRM

    pastedimage1618913510650v1.png

    Yeah the trigger is set to stage exit

  • LuHao Profile Picture
    40,886 on at
    RE: Customize error message in CRM

    Hi Sankalp,

    Did you only set the workflow in Qualify stage and select the trigger to Satge Exit?

    pastedimage1618912629136v1.png

  • Sankalp Sreekar Profile Picture
    on at
    RE: Customize error message in CRM

    pastedimage1618911989826v1.png

    This is the current state of my workflow

  • Suggested answer
    LuHao Profile Picture
    40,886 on at
    RE: Customize error message in CRM

    Hi Sankalp,

    Please check if Record is created is selected in your workflow.

    All triggers should not be selected.

    pastedimage1618910138270v2.png

  • Sankalp Sreekar Profile Picture
    on at
    RE: Customize error message in CRM

    Hi,

    I've changed it to real-time and now it shows the messages. But it doesn't allow saving the record after creating without filling in the required fields. Any suggestions on how to prevent this behavior, ie, enabling save without the mandatory fields filled?

  • Suggested answer
    LuHao Profile Picture
    40,886 on at
    RE: Customize error message in CRM

    Hi Sankalp,

    pastedimage1618886078614v1.png

    The workflow must be real-time workflow, not background workflow.

  • Sankalp Sreekar Profile Picture
    on at
    RE: Customize error message in CRM

    I followed the steps you mentioned and I still get the same message. Not sure if workflow is even getting triggered. Can you post a screenshot of the message which is displayed when you qualify a lead with Need1 and Need2 not filled?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans