function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sol2012Sol2012 

Skip login flow if no records available

Hello all,

I am starting to experiment with Flow/Login Flow. I have been able to create a simple message for users following this mini-howto:

http://www.crmsalesforcetraining.com/salesforce-login-flow-notice-display-sfdc-login-flow-display/

My question is:

How do I completely skip the login flow and let the users login straight into home page WHEN there are no available messages (records) for them?

Thanks in advance!
Vijay NagarathinamVijay Nagarathinam
I think is it not possible to skip the login flow.
Heather ThompsonHeather Thompson
I had a smiliar situation, the workaround I came up with is:
1) Look-up logged in user with {!LoginFlow_UserId}
2) Create a decision based on if the field I am looking for is blank
3) If the field is blank, give the system some useless task, like a lookup, to do (If a login flow finishes with a decision, it will display "Your flow has finished" on login and prevent the user from logging in)
4) If the field is not blank, continue with flow