Hello,
I have built an app to collect visitor information and send them the map instructions (by calling power automate flow) when the managers approves the request. The below code has been working and all of a sudden when one of the visitor chose "Ongoing Access" option by mistake, the app started throwing the error. I don't understand what has gone wrong.
If(TypeofVisitDataCardValue78_1.Selected.Value<>"Ongoing Access",Emailattachmentstovisitor.Run(DataCardValue69.Text,FromDateValue5_1.SelectedDate&" " &HourValue6_1.Selected.Value & ":" &MinuteValue6_1.Selected.Value,ToDateValue4_1.SelectedDate&" "&HourValue5_1.Selected.Value & ":" &MinuteValue5_1.Selected.Value,FullNameDataCardValue76_1.Text, VAHostDataCardValue44_1.Selected.DisplayName));
Seeking some advice to resolve this issue.
Thank you!

Report
All responses (
Answers (