Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Sales updates!Learn about the key capabilities and features of Dynamics 365 Sales and experience some of the new features.
Download overview guide | Watch Sales video
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I find the opposite but not in this way.
Thanks for your help !
Thank you for your query.
Power Apps Flow runs asynchronously (in the background) and they are not aware of UI.
In other words, this is not possible.
Can you please give more details about your scenario ?
I managed once to open a progress bar while the flow is running. At the end of the flow execution, I close the progress bar and refresh the values on my form. For this, I have a technical field that determines the state of the flow. Then on the client side, I check the state of the flow via the technical field periodically.
Hi @Medhi El Amri,
Thanks for your response.
Part 1 of final product =>Composed Product
Part 1 of composed Product =>intermediary product
Part 2 of final product ...
He can add a line at any level and when he add a line, a flow start to add the sub-lines regarding the line he add.
Thank for your help.
Yes, you can follow the same logic I outlined in my first post. Indeed, you will need to create a technical field of type option set with 4 values which will correspond to the state of the execution of your flow.
1- Not Started
On your flow, you will have to update the technical field at the beginning and at the end of the flow.
On your JS you will check the state of the flow periodically. For example, you will do a retrieve every 0.5 seconds on the technical field. In effect, it's like pinging the technical field to check the state of your flow.
If this is not clear, I will try to write a blog that will explain this approach.
It's perfectly clear and I feel so stupid not to think about this solution myself !!
Tanks again !
Alternatively, you might suggest to your client that they take this out of the context of D365 Sales and consider deal with it in an ERP that offers, at least, basic BoM (Bill of Materials) capabilities, as that is exactly what you described. D365 Business Central can do this. Typically, BoM is associated with manufacturing, but there are many cases out there of companies that don't truly 'manufacture' something; rather they do 'kit assembly'. But the software capabilities are the same at that level, its just that the levels below that such as routings and engineering control and so on aren't required. The "final product" in your description is what is made available to D365 Sales to sell. The huge advantage of this is that they get all the costing, including WIP (Work in Progress), and the associated financial system postings as part of the deal. Which they will NOT get through your custom approach in D365 Sales.
There are, of course, less costly alternatives to Business Central. MANY. But what you're describing really does belong in the ERP realm not the 'CRM' realm. And doing it properly in an ERP system that provides BoM capability doesn't rob you of revenue as they will still need some custom dev work done to integrate a non-Dynamics ERP to D365 Sales.
Oh, and this is the first time I've heard anyone call it "Powerflow", LOL!
Hi @Mehdi El Amri !
I run test with this method but my page froze and I have an "out of memory". I think it's due to the while () loop running but even with delay I've got the same issue.
How did you bypass this problem ?
Thank you again for your support.
Of course, you could ignore my reply and forge ahead trying to accomplish something the technology wasn't designed to support.
Business Applications communities