Hi @JD2301,
Do you add a comment screen for each question within your app?
How do you navigate to the comment screen from a failed audit question within your app? Could you please share more details about the Navigate formula?
The user @ahockaday and @SahanW have faced similar issue with you, please check the response within the following thread:
https://powerusers.microsoft.com/t5/General-Discussion/how-to-Link-directly-to-the-item-on-the-Detail-Screen-based-on/td-p/117669
https://powerusers.microsoft.com/t5/Creating-Apps/Pass-Parameters-from-HTTP-URL-to-a-Powerapp-Gallary/td-p/127401
If you want the link in the email to take them to the corresct screen in your app, you could consider set URL parameters (e.g. https://web.powerapps.com/apps/76897698-xxxx-b2de-xxxx-xxxx74f114f2?Question="Q1") within the URL link that you provided within the email.
Within your app, receive the Parameter values (Question) using Param() function. Then based on the received parameter value, navigate to corresponding comment screen.
I have made a test on my side, please take a try with the following workaround:
Set the OnSelect property of the "Continue" button to following:
Office365.SendEmail(
TextInput4_16.Text,
"Assigned Task To Be Coplated",
"Please follow the link to view the failed audit question : https://web.powerapps.com/apps/3cffb281-c8bd-42c6-8c55-bfd6973d3e55?Question=Q1"
)
Note: The '3cffb281-c8bd-42c6-8c55-bfd6973d3e55' represents your App ID.
Set the OnStart property of the first screen of your app to following:
Set(CurrentQuestion, Param("Question"));
If(
CurrentQuestion = "Q1",
Navigate('MOJ PersonnelCommQ1', ScreenTransition.Fade),
CurrentQuestion = "Q2",
Navigate('MOJ PersonnelCommQ2', ScreenTransition.Fade),
CurrentQuestion = "Q3",
Navigate('MOJ PersonnelCommQ3', ScreenTransition.Fade),
...
)
More details about the Param function, please check the following article:
Param function
Best regards,
Kris