Hey, I have a problem. I can not think of a way to execute this idea.
I have a powerapps form with sharepoint integration. It is built from 3 seperate screens, in each screen are different form.
1 FormScreen1 with Form1
2. FormScreen2 with Form2_1
3. FormScreen3 with Form3_2
When a person is opens up new form it should be navigated instantly to FormScreen1.
When he fills out the form, presses submit, it saves to sharepoint. When it is saved, another person gets an email with a link to edit that form. That person is written in person type column (DataCardValue9). So now, whoever is written in DataCardValue9, when they opens up that form, it should Navigate instantly to FormScreen2.
With the FormScreen3 it is easy because i know all the emails, so i just do Set(XXX, [""]) (I put this function on Loadingscreen -> timer -> ontimerend)
So this is the question. When the form is opened from url that is sent to him, how to navigate that person who is written in DataCardValue9 to FormScreen2? Is there any way?
I tried using this formula ontimerend. but it didnt work. Also DataCardValue14 and 15 are also person type column which need to be added to this mess. All of them needs to be navigated to FormScreen2.
If(
(User().Email = DataCardValue9.Selected.Email ||
User().Email = DataCardValue14.Selected.Email ||
User().Email = DataCardValue15.Selected.Email),
Navigate(FormScreen2, ScreenTransition.None),
Navigate(FormScreen1, ScreenTransition.None)
)