I am trying to use the new startscreen function and it is not working as I would expect
Here is what I have
If(
Param(
LookUp(
'Apprentice List',
'Apprentice Email'.Email = User().Email
).Position = "ELECTRONICS TECHNICIAN"
),
'Dashboard by User_ElectronicsTech',
If(
Param("Hydro Electrican"),
'Dashboard by User_ElectronicsTech',
If(
Param("Hydro Mechanic"),
'Dashboard by User_HydroMechanic',
If(
Param("Lineman"),
'Dashboard by User_Lineman',
If(
Param("Meter Technician"),
'Dashboard by User_MeterTech',
If(
Param("Power Plant Operator"),
'Dashboard by User_PPO',
If(
Param("Power System Electrican"),
'Dashboard by User_PSE',
'Dashboard by User'
)
)
)
)
)
)
)
basically what I am wanting to have happen is I want to lookup the current user and if their position matches say ELECTRONICS TECHNICIAN navigate to the Dashboard by User_ElectronicsTech screen. when I run the app it just is not going there, what am i missing?