Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
Hi , I have custom button which run workflow step and the result of this workflow is create some record , i need to refresh my form after finish this process
because i want show subgrid with new created record quickly and also show result of some field that change in workflow step(some field clear in workflow step but after i click f5 i can see those field changes) .
i send my custom button code in bellow
It is an issue. You have to refresh manually or change your workflow to real time then your problem may resolve.
yaa its true only for my subgrid , when i change my workflow to real time my grid fill and show new record , but some fields of this entity which changed in workflow , didn't have any change until i click into refresh button
Write the refresh method inside success call back ( where you are showing alert) of the workflow instead of outside. See how its goes.
As a workaround, insert the below two lines of code after the success alert to force-refresh the sub-grid.
If my answer helps you, please mark it as verified.
For refresh you can also write below code it will be refresh loaded whole page . Make sure you put the code inside workflow success call back method.
If you want to refresh only grid , then write below code -
thanks ,its done correctly
@somayeh: Which approach suggested by Gautam resolved your issue: 1st one, 2nd one or both?
hi , the second one worked for me
Business Applications communities