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 365 | Integration, Dataverse...
Unanswered

How can I show business process flow columns in an opportunity view?

(4) ShareShare
ReportReport
Posted on by 30


I have been trying to show the Active Stage column from my business process flow table in my opportunity view but the column keeps coming back blank. I know there is data in both tables that should match up. Is this something thats not possible without using a cloud flow to fill a text column? Can this relationship be used this way?

Categories:
I have the same question (0)
  • ArchitectMadhan Profile Picture
    458 on at
    Hi,
    It sounds like you're trying to display the Active Stage column from a business process flow (BPF) table in your opportunity view, but you're encountering challenges because the column appears blank. This is a common scenario due to how business process flows are structured in Dataverse. Let me break it down for you:
    Let me know if you'd like detailed steps for any of these options!
    1. Understanding the Relationship: Business process flows are stored as separate tables in Dataverse, and the relationship between the BPF table and the related entity (like Opportunity) is one-to-many. This means that a single opportunity record can have multiple associated BPF records. 
    2. Why the Column Appears Blank: The Active Stage (activestageid) column resides in the BPF table, not directly in the Opportunity table. When you try to include it in the Opportunity view, the system cannot directly resolve this relationship to display the data.
    3. Options to Resolve This
      • Option 1: Use a Cloud Flow
        • Create a cloud flow in Power Automate to copy the value of the Active Stage column from the BPF table into a custom text column in the Opportunity table. This ensures the data is available directly in the Opportunity table for reporting or views.
      • Option 2: Create a View on the BPF Table:
        • Instead of trying to show the Active Stage in the Opportunity view, create a view directly on the BPF table. You can include columns like Active Stage and related Opportunity details. This approach is recommended if you want to report on the BPF data itself.
      • Option 3: Use FetchXML and LayoutXML:
        • If you're comfortable with advanced customization, you can use FetchXML to query the data and LayoutXML to define how it appears in the view. Tools like the XrmToolBox View Designer can help with this.
    4. Best Practice:
      • If you need to report on the Active Stage across multiple opportunities, creating a view or chart on the BPF table is the most efficient and maintainable approach. Copying data into the Opportunity table should be considered only if absolutely necessary.
    If you find this solution useful, please like it and accept it as answer.

    -ArchitectMadhan

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 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 51

#2
Martin Dráb Profile Picture

Martin Dráb 39 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans