i have setup a login flow which works when a user meets the criteria to go through the whole flow. what i cannot do is exclude a subset of users from the start of the flow. this solution seems to take absolutely all users from the specified profile and run them through the flow. I did try setting up my starting element by filtering only users that had a custom field blank on their user record, but the flow is ignoring that filter completely.
I tried skipping the whole flow for users who have gone through it once and get to the end part which is basically a Record Lookup (i saw this solution somewhere on the web) but that just directs my user straight to a page which says "Your flow finished" instead of logging them in.
finally it seems that i cannot edit the default visualforce page in which the login flow is running.
so here are my 2 questions:
- can i skip the flow for some users or have a headless flow for them
- can i edit the visualforce page or use my own within a force.com site ?