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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Help deleting a corrup...
Power Apps
Answered

Help deleting a corrupt Business Process Flow?

(0) ShareShare
ReportReport
Posted on by 367

I built a custom entity and experimented with a Business Process Flow but found that it wasn't the best solution for my users, so I tried to delete it.

 

However, even after removing all dependencies, I do not appear to be allowed to delete the BPF. It still reports that there are dependencies, but when I try to view the list, it appears blank. See attachment.

 

I would like to avoid a scenario where I need to export all of my solutions to a clean sandbox to get rid of it.

 

I have the same question (0)
  • jzimmermancase Profile Picture
    367 on at

    Here is the attachment I mentioned.

  • v-yutliu-msft Profile Picture
    on at
  • Verified answer
    jzimmermancase Profile Picture
    367 on at

    Hey I found a solution! But it was different than what was listed before, so please point people to this post if they can't delete a BPF.

     

    I had two dependencies stopping me from deleting the custom BPF but the Solution Customizer wouldn't tell me what they were (neither the Classic nor the PowerApps version).

     

    I did a lot of digging and found them. The key is that a BPF Process won't correctly report its dependencies, because it's main dependency is the BPF entity that it automatically creates and is supposed to be hidden.

     

    So to see the real depencies for a BPF, you have to find its Entity and show its dependencies.

     

    In my case the first was the 1:N relationship between "Work Logs" (my custom entity) and the corrupt BPF entity. That relationship in turn was depended upon by the Default Public View inside the corrupt BPF entity. It contained a lookup column to the Work Logs entity (another custom entity that "hosted" the BPF). I tried deleting the lookup column, but that wasn't enough, I had to create a throwaway View, set it as the Default Public View, and then delete the original View. Then I was able to delete the relationship.

     

    The second was a Model Driven App I had created. Even though I removed all references to the corrupt BPF, the BPF entity still listed it as depending on it. So I bit the bullet and deleted the model driven app.

     

    After that, I was able to delete the corrupt BPF process, which automatically deleted its corresponding entity.

  • Community Power Platform Member Profile Picture
    on at

    Thanks for providing the solution, it helped me resolve my issue deleting some deprecated Business Process Flows.

     

    One tweak I did was to

    1. Create a temporary solution containing my Model Driven App
    2. Export that solution
    3. manually edit the Customizations.xml file within the export to remove all references to the BPF Entities.
    4. Re-Import the temporary solution.
    5. Delete the Temporary Solution.

     

    This allowed my to keep my model driven app setup. Thanks!

  • JV-27050816-0 Profile Picture
    2 on at
    In my case, I went to entity that BPF process depends on and opened the relationship N:1 relationship that points to base entity that BPF belongs to.

    There I could see a form depends on BPF. I open the form and lo and behold, navigation element that points to BPF is there. I delete it and I can finally delete my BPF process.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard