web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Splash screen redirect...
Power Apps
Answered

Splash screen redirect to AppStart event to follow some conditional navigation

(0) ShareShare
ReportReport
Posted on by 184
Hello there, 
I have some conditional navigation in StartScreen event based on matches a table's data value and logged-in user. I have prepared a splash screen that needs to redirect/navigate me to StartScreen event where I have following conditional navigation. The OnTimeEnd code didn't reconized. 
 
On StartScreen event:
If(
    CountIf(
        Table(
            {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Supervisor.Email}, 
            {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Adm2ApproverEmail}, 
            {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).SUP2ApproverEmail},
            {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Fin2ApproverEmail}, 
            {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).ICT2ApproverEmail}, 
            {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Sec2ApproverEmail},
            {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).HR2ApproverEmail}
        ),
        Email = User().Email
    ) >= 2,
    ApprovalChoice, // If user has multiple roles, start at ApprovalChoice
    If(
        LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Supervisor.Email = User().Email, SupervisorApprove,
        LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Adm2ApproverEmail = User().Email, AdminApprove,
        LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).SUP2ApproverEmail = User().Email, SupplyApprove,
        LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Fin2ApproverEmail = User().Email, FinanceApprove,
        LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).ICT2ApproverEmail = User().Email, ICTApprove,
        LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Sec2ApproverEmail = User().Email, SecurityApprove,
        LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).HR2ApproverEmail = User().Email, HRApprove,
        LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Final2ApproverEmail = User().Email, FinalApprove,
        !IsBlank(LookUp('ExitClr v02-Approvers', User().Email = Name.Email && Category.Value = "Delegator")), DelegatorLanding,
        !IsBlank(LookUp('ExitClr v02-Approvers', User().Email = Name.Email)) || 
        !IsBlank(LookUp('Exit Clearance V02', User().Email = Supervisor.Email)), ApproversLanding,
        RequestorLanding // Default screen if no conditions match
    )
)
 
On Spalsh Screen OnTimeEnd event:
Navigate(App.StartScreen)
The command is not recognized :( :(
 
 
I have also tried to move the StartScreen codes in OnTimeEnd event of the splash screen which didn't do anything after end of timer. I think this would be possible if I somehow managed to redirect to the AppStart event after end of time.
 
I can't find an easy way to do it. If anyone can help me with this will be appreciated.
 
 
I have the same question (0)
  • Verified answer
    satya_vijay_2025 Profile Picture
    76 on at
    Ideally having the code in the timerEnd Should 

    did you use Navigate (your code ) on the TimerProperty? 
     
    Navigate(If(
        CountIf(
            Table(
                {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Supervisor.Email}, 
                {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Adm2ApproverEmail}, 
                {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).SUP2ApproverEmail},
                {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Fin2ApproverEmail}, 
                {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).ICT2ApproverEmail}, 
                {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Sec2ApproverEmail},
                {Email: LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).HR2ApproverEmail}
            ),
            Email = User().Email
        ) >= 2,
        ApprovalChoice, // If user has multiple roles, start at ApprovalChoice
        If(
            LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Supervisor.Email = User().Email, SupervisorApprove,
            LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Adm2ApproverEmail = User().Email, AdminApprove,
            LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).SUP2ApproverEmail = User().Email, SupplyApprove,
            LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Fin2ApproverEmail = User().Email, FinanceApprove,
            LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).ICT2ApproverEmail = User().Email, ICTApprove,
            LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Sec2ApproverEmail = User().Email, SecurityApprove,
            LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).HR2ApproverEmail = User().Email, HRApprove,
            LookUp('Exit Clearance V02', ID = Value(Param("ItemID"))).Final2ApproverEmail = User().Email, FinalApprove,
            !IsBlank(LookUp('ExitClr v02-Approvers', User().Email = Name.Email && Category.Value = "Delegator")), DelegatorLanding,
            !IsBlank(LookUp('ExitClr v02-Approvers', User().Email = Name.Email)) || 
            !IsBlank(LookUp('Exit Clearance V02', User().Email = Supervisor.Email)), ApproversLanding,
            RequestorLanding // Default screen if no conditions match
        )
    ))
  • Verified answer
    WarrenBelz Profile Picture
    154,799 Most Valuable Professional on at
    Firstly you can save a heap of code like this
    With(
       {
          _Data:
          LookUp(
             'Exit Clearance V02', 
             ID = Value(Param("ItemID"))
          ),
          _Data2:
          Filter(
             'ExitClr v02-Approvers', 
             Name.Email = User().Email
          )
       },
       With(
          {
             _Mail:
             [
                _Data.Adm2ApproverEmail, 
                _Data.SUP2ApproverEmail,
                _Data.Fin2ApproverEmail, 
                _Data.ICT2ApproverEmail, 
                _Data.Sec2ApproverEmail,
                _Data.HR2ApproverEmail
             ]
          },
          If(
             CountIf(
                _Mail,
                Value = User().Email
             ) >= 2,
             ApprovalChoice,
             _Data.Supervisor.Email = User().Email, 
             SupervisorApprove,
             _Data.Adm2ApproverEmail = User().Email, 
             AdminApprove,
             _Data.SUP2ApproverEmail = User().Email, 
             SupplyApprove,
             _Data.Fin2ApproverEmail = User().Email, 
             FinanceApprove,
             _Data.ICT2ApproverEmail = User().Email, 
             ICTApprove,
             _Data.Sec2ApproverEmail = User().Email, 
             SecurityApprove,
             _Data.HR2ApproverEmail = User().Email, 
             HRApprove,
             _Data.Final2ApproverEmail = User().Email, 
             FinalApprove,
             !IsBlank(
                LookUp(
                   _Data2,
                   Category.Value = "Delegator"
                )
             ), 
             DelegatorLanding,
             !IsEmpty(_Data2) || 
             !IsBlank(
                LookUp(
                   'Exit Clearance V02', 
                   User().Email = Supervisor.Email
                )
             ), 
             ApproversLanding,
             RequestorLanding
          )
       )
    )
    but I cannot see anywhere in this that you are landing on the splash screen - how do you navigate to it ?
  • LeonardLeo Profile Picture
    184 on at
    Thanks everyone, In OnTimerEnd event, the code works after I add Navigate clause before every screen such as 
     
    ....User().Email, Navigate(SupervisorApprove),...
    I think the OnTimerEnd event doenst allow screen name only like OnStart event. So I have moved all code from OnStart event to OnTimerEnd event adding Navigate before all screen names. 
    Your reply with question to my post made it happened guys. Thank you :D 
     
    However, I couldn't find direct reply button under your replied comment like before. I dont know if its the settings of website or from now on no one can reply to any answers. Bit confused. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard