I am creating an app that has 3 roles, Admin, Initiator and User.
All three roles need to start on a different screen, my thought was to create two collections one to identify if the user is an Admin and one to identify if the user is an Initiator, if they are neither they start on the Home Screen but if the are Admin or Initiator they are directed to their respective admin screens. I tried to do this with !IsBlank(collection) but the StartScreen property does not allow collections nor does it allow global variables does anyone have any solution?
OnStart:
Collect(col_UserTasks, Filter('Document Control Audit List', 'Created By'.Email = User().Email));
Collect(col_AdminTasks, Filter('Document Control Audit List', Approver.Email = User().Email));
StartScreen:
If(!IsBlank(col_UserTasks), "User Screen", !IsBlank(col_AdminTasks), "Admin Screen, "Home Screen")

Report
All responses (
Answers (