I am quite new with powerapps and I am just finishing my first “complex” powerapp solutions. I don’t just get it how to add timer control between 2 patches. I have a button on my App which includes 2 patch to inserts new row on gallery and after that update sum gallery labels to sql on premise. The code looks like this: SubmitForm(Form1_5);;Set(VarStartTimer; true);;Patch('[dbo].[xxx]'; LookUp('[dbo].[xxx]'; ID = Gallery1.Selected.ID); {KPL:Value(Label173_1.Text);EHtm2:Value(Label176_1.Text);Yht:Value(Label175_1.Text)}) P.S. we use ; instead of , like you do in US.
On Timer function I use Durations of 5000, OnTimerStart: false, OnTimerEnd: Refresh('[dbo].[xxx]'), Start: VarStartTimer, Repeat:false, Reset:false, Autostart:false, AutoPause:false
It works if I add just 1 new record but do not update the second one with Sum labels even I wait more than 5 seconds before next trigger.