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 :
Microsoft Dynamics CRM (Archived)

Stop Lead Qualification based on Status reason

(0) ShareShare
ReportReport
Posted on by 295

Hi

When  a lead is Open we have as Status Reasons Un-contacted and Contacted. We would like to stop a user from qualifying a lead if the status reason is un-contacted. 

Could you please let me know how can I do this? I was thinking in a workflow that is triggered on status change but will that work? I am thinking that if the workflow is triggered after the status changed, the status reason will have probably changed to a new value but I need to check the value of Status Reason while it was Open. If it is triggered before the status changed, I now have the problem that I don't know if I am qualifying or disqualifying. 

Could you please point me to how to achieve my requirement? 

Thanks

teresa 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Kokulan Profile Picture
    18,054 on at

    If you want at a no code/script solution, please see the following achieve what you want

    Create a flag field on the entity to indicate if its un-contacted lead - a Two Options field and drop and hide that on the form.

    Create a business rule to set it to true whenever the Status Reason is Un-Contacted - otherwise let it to set to False

    The above setup will allow us to have a flag on lead. We can now use this flag on status change to prevent user from qualifying if its un-contacted.

    You can then create a Real-Time Workflow and check if the Flag is set to YES and also the status is qualified and if these conditions met, you can display an error message and roll-back the operation.

    Please see the screenshot below as to how you could set your workflow up.

    ScreenClip-_5B00_172_5D00_.png

    And the error message would be displayed as shown below

    ScreenClip-_5B00_172_5D00_.png

    Hope this helps

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    you can either create a javascript and show hide the button using ribbon workbench.

    [View:https://ribbonworkbench.uservoice.com/knowledgebase/articles/121427-enable-disable-a-ribbon-button-dynamically-based-o]

    use plugin and register preimage to get the old value.

    [View:https://www.magnifez.com/pre-image-and-post-image-in-dynamics-crm-plugins-advanced-plugin-concepts-part-1/]

  • Tessacq Profile Picture
    295 on at

    Hi

    Thank you that seems to work.

    Regards

  • Tessacq Profile Picture
    295 on at

    Hi

    Thanks for your help. I am not very familiar with plugins or code so decided to go with the other solution.

    Regards

    Teresa

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans