Greetings! Seeking help for question here.
With a SUBMIT button I have set it to:
1. submit form
[it will also update the HTML text based on the form content]
2. run a flow to create a pdf file based on the HTML text
Problem come here is the pdf created reflects the not the most recent submittion of form but an elder version.
When I seperated one and two into two seperate button it works file. Seems to be a time lag between 1 & 2.
To work around this, is there a way to create step 1.5 to somehow lenghten the execution and allow the complete update of new data?
Hi,
Look this...
https://www.c-sharpcorner.com/article/how-to-add-delay-or-wait-until-in-powerapps/
I hope it helps you...
And I wonder if there is a cascating way to activate a onselect. ie. click button 1, activate timer, once timer end activate button 2 automatically? Just not good at how to make it happen this way.
I belief a 5 second delay in between shall be okay for data to be saved and refreshed.
No I was suggesting as you say. But what then is your filter? Is it finding the record you need to display
With current setting I do use a filter inside concat inside HTML text to filter the recored to add to the HTML text. But do you suggest to add another filter outside the HTML text?
Is this achievable? I thought HtmlText would only accept " string " in between but not a formula on top?
If your submit is before the HTML, it will save but then your HTML may have blanks as the form refreshes. If you submit after the HTML then the HTML is not based those in the form as they are not yet saved (Checken and egg)
When I do this I uses a filter in the HTML that is based on something Filter(Source,ID=Last(Source).ID) - (not sure on the syntax but it is something like that. after teh submit
If the ID is already Known as you may be editing, then I use a variable that gets populated with the ID eg" Filter(Source,ID=VarID)
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473