Hi All,
I am trying to create an app for offline mode. My scenario is -
I am saving data into collection in ofline and when online patching data to source. Also triggering a flow. Now what I want is - I want to before triggering a flow I want to check if temperature >=38. If yes then trigger a flow else not.
How can I do that?
I tried using if(cre08_temperature>=38,....,....) but it is showing me error "Name isn't valid "
On app OnStart i have below code-
If(
!IsEmpty(TriagebyBusCollection.cre08_temperature) && Connection.Connected,
ForAll(
TriagebyBusCollection,
Patch(
'Triage daily Replicas',
Defaults('Triage daily Replicas'),
{
Temperature: cre08_temperature,
Cough : cre08_othersymptoms,
'Seat Number Dummy':cre08_seatnumberdummy
}
)
);
//here i want to check if temperature >=38
ForAll(
TriagebyBusCollection,
PowerAppsbutton.Run( cre08_temperature));
);