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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow not running on Lead Qualify

(0) ShareShare
ReportReport
Posted on by 60

Hi All,

I an stucked in one situation. I have modified lead qualification behavior as per my customer requirement.

I am qualifying lead through plugin and after that there is one workflow running which will create customer and loan account.

But workflow is not executing.

Workflow running conditions:

Workflow will run once leads status and status reason changes to Qualify.

Kindly suggest what i am doing wrong

7762.Error-1.png

*This post is locked for comments

I have the same question (0)
  • ashlega Profile Picture
    34,477 on at
    RE: Workflow not running on Lead Qualify

    Hi,

      how do you know it's not running? Are there any conditions in the workflow? Could you post a screenshot of the workflow steps?

  • shashanksaxenaNTT Profile Picture
    60 on at
    RE: Workflow not running on Lead Qualify

    Hi Alex,

    Thanks for your response.

    Please find screenshot for workflow steps.

    52376.Capture.PNG

    it is running on lead entity and status change.

  • Community Member Profile Picture
    on at
    RE: Workflow not running on Lead Qualify

    Probably the problem is in either of these two points:

    • Record field changes does not include all fields
    • None of the two sets of conditions are respected

    Solution:
    Try to simplify workflow on a single field to identify the problem, probably it will be the state change.

    Let us know
    Francesco Picchi

  • shashanksaxenaNTT Profile Picture
    60 on at
    RE: Workflow not running on Lead Qualify

    Hi Francesco,

    What changes i can done in to make it working?

    I am not getting you point.

  • VermaNitin Profile Picture
    455 on at
    RE: Workflow not running on Lead Qualify

    Hi,

    It seems that you wish to run the workflow on qualifylead message i.e. when a lead is qualified.

    CRM has qualifylead as a specific message which is other than status change so a OOB workflow will not trigger on lead qualification i.e. when a lead is qualified.

    Though status change is triggered when lead is disqualified.

    So in order to execute your code you may opt for a plugin.

    As per your scenario, you are qualifying a lead from inside a plugin yourself. So you may opt for QualifyLeadRequest and then then out your customer create logic there.

    Have a look at the URL below:

    https://msdn.microsoft.com/en-in/library/microsoft.crm.sdk.messages.qualifyleadrequest.aspx

    Please let me know if it helps!

    Many thanks,

    Nitin Verma

     

  • Community Member Profile Picture
    on at
    RE: Workflow not running on Lead Qualify

    When you dont know where is the problem, you have to "remove variables" to force the workflow to start execution.

    So you could try to leave one condition only.

    In your case i would do the following:

    1. Add to "Records field change" all the fields involved in the workflow, like "LeadDocument uploaded", "LeadQualifyStatus" etc.

    2. Remove two of three conditions to force the workflow start.

    Please keep in mind that "Change status" event is a bit tricky so it would be better to deals with other fields (like a boolean field set to true when state change, so you can deal with a single attribute value).

    Let us know

    Greetings

    Francesco Picchi

  • shashanksaxenaNTT Profile Picture
    60 on at
    RE: Workflow not running on Lead Qualify

    Hi Francesco,

    I have tried your recommendation on two organization - one is my trial organization and one is my customer DEV box. In training organization - I am portal admin and in my customer DEV instance - i am a user on portal and having sys admin,sys customizer roles.

    I have created same workflow(in both instance) with simple condition - send email once lead will be qualified and lead customer doesn't contains data.(Condition - Record Status Change). I am a workflow owner in both organizations.

    Surprisingly I have received different results on both organization.

    Results:

    My Organization:

    Workflow is running fine.

    Customer DEV Instance:

    Workflow is not executing. I have checked "Process Information", there is no log for workflow step. Even it is not firing.

    I don't know what is the problem.

    Can you suggest any recommendation?

  • shashanksaxenaNTT Profile Picture
    60 on at
    RE: Workflow not running on Lead Qualify

    Hi Nitin,

    Thanks for your response.

    Little confused here , As you are saying workflow will not trigger on lead qualification.

    If i am just adding "ModifiedOn" field change, my workflow is working.

    But on that particular condition "Record Status Change", it is not working.

    On one of my training organization, same worklow is working but on my customer DEV instance, it is not working.

  • Community Member Profile Picture
    on at
    RE: Workflow not running on Lead Qualify

    It's definitely a security configuration issue.

    Please replicate the exactly configuration in either enviroments (same user, same by, same teams, same roles) and please, check in Office365.com administration portal you are not using "Administration mode" for sandbox enviroment:

    https://msdn.microsoft.com/en-us/magazine/dn659833(v=crm.6).aspx 

    disable_2D00_administration_2D00_mode.png

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Workflow not running on Lead Qualify

    Hi shashanksaxenaNTT.

    Did you solve the problem? If positive, please mark the answer as verified.

    Please let me know.

    If you found the answer helpful, please mark as Verified 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans