Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Fetch all records of an entity who's business process flow is in 'Finished' state

(0) ShareShare
ReportReport
Posted on by 107

Can I add a filter on the view for an entity and fetch a list of all records for which the business process flow is in 'Finished' state?

pastedimage1581920679984v1.png

  • Suggested answer
    Vin.k.S Profile Picture
    95 on at
    RE: Fetch all records of an entity who's business process flow is in 'Finished' state

    Since CRM 2016 the Business Process Flow is queryable over advance find.as Entity. Just look at the attached image

    You will find phonecall (or wherever BPF is created) in the related Entity section, just select it and add the below condition

    StatusReason = "Finished"

    Screenshot-2021_2D00_02_2D00_25-213442.jpg

  • Suggested answer
    Vipin J Profile Picture
    1,603 on at
    RE: Fetch all records of an entity who's business process flow is in 'Finished' state

    Hi,

    In Advanced find, 

    1) Select your entity - where the Sales Stage is listed.

    2) Select the respective business process flow and check with condition for Sales Stage is equal to appropriate sales stage that you are interested in.

    pastedimage1581955814109v1.png

    Read : https://vjcity.blogspot.com/

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Fetch all records of an entity who's business process flow is in 'Finished' state

    Hello, 

    Please check the fetchXml below: 

      
        
          
            
            
          
        
      
    

  • mobeenmohsin Profile Picture
    on at
    RE: Fetch all records of an entity who's business process flow is in 'Finished' state

    Hi Shweta,

    You can try to use Advanced Find and select related business processes and add multiple conditions to see the records, Advanced find is very powerful search which gives you ability to use them in multiple scenarios, we can add conditions on related entities and also you can look for process stage or similar column in specific entity using advanced find in Dynamics CRM. Please find more details using below:

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/basics/save-advanced-find-search 

    Best Regards,

    Mobeen Mohsin

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 Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans