Thursday, April 6, 2017

Login Flows to Display Important Messages to User After Login

Sometimes it is required to display some message to SFDC users when some maintenance or migration activity is getting performed in production. For example, during some major project release which may take many hours or many days for metadata and data migration, you want to display message to SFDC user saying "Maintenance is in progress and you may experience intermittent issues".

You might have seen these kind of intermediate screen informing about Salesforce maintenance window after logging into salesforce.

Login Flows allow administrators to display intermediate screen (Flow) once user is authenticated and after that user will be redirected to home page of salesforce.

You can create a flow using flow designer and associate it with Login flow. As you already know that flow can be used to collect some information from users or to display some message to end users. Using flow you can specify set of screen to capture data from user or navigate the user's to set of instructions.

Important points regarding Login Flows:
  • The login flow screens are embedded within the standard Salesforce login page for uniform user experience.
  • You need to associate Login flows to different profiles. So all user related to that profile will see flow screen after authentication.
  • Login Flows can be applied to SFDC Orgs, communities and portals. 
  • Login flow comes into picture whenever user login through UI either using username and password, delegated authentication, SAML single sign-on, and social sign-on through a third-party authentication provider

Now we will create a sample flow to display maintenance message to end users during some major project release. Below are steps which we need to follow:


Create a flow

  • Navigate to Set Up--> Create-->Flow. Click on New Flow button. This will open Flow designer screen. Drag Screen Palette from left side and name it as "Maintenance Window Message".

  • Now Click on "Add a Field" tab and double click on display text.

  • Now click on "Field Settings" tab and click on display text. Give unique name as "MessageToDisplay". Specify the message which you want to display to end User and then click Ok.

  • Mark screen as start element for you flow by clicking on green down arrow as shown below.

  • Now Save flow by clicking on Save button and name flow as "Maintenance Window Flow".

  • Now Close the Flow and Activate it. Click on Activate link. Remember only active flow will be available for login Flows.

Assign Login Flow to Profile

  • Navigate to Set Up-->Security Controls-->Login Flows. Click on New Button. Specify name as "Maintenance Window Message" and select license and profile. Profile list depends on license selected by user.

  • In this way you can create multiple entries for different profiles.

Now you login into Salesforce to test this. Once you specify your username and password, you will see below message screen.



Points to remember:
  • You can just delete the login Flows records after maintenance window so that users will not see this message after login.
  • You can not create more than 1 login flow record for a given profile. Suppose you want to assign different flow to same profile in login flow then you will get below error:



Hope this will help!!!

For more details on Login flow, please refer below URL:
Login Flows


Other Blogs>>: 
DYNAMIC APEX IN SALESFORCE
SOQL INJECTION IN SOQL
CUSTOM METADATA AND CUSTOM SETTINGS IMPLEMENTATION TRICKS
REST API TUTORIAL FOR SALESFORCE
VISUALFORCE COMPONENT FOR RECORD STATUS BAR
FETCHING FILE FROM EXTERNAL/PUBLIC URL AND STORING IT IN SALESFORCE

87 comments:

  1. Will this work for community login as well?

    ReplyDelete
  2. Yes. This will work for communities.
    You need to create entry in login flows for profile which is assigned to community.

    ReplyDelete
  3. This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.
    Sales Fore CRM Training in Chennai

    ReplyDelete
  4. Krishna ChimakurthyOctober 12, 2017 at 11:04 PM

    hi Sunil hope you are doing well.If an Org have 200+ profile and we want to put this maintenance message to all the users, how can we avoid creating 200 login flows? is there any global setting that displays across the profiles?

    ReplyDelete
    Replies
    1. Hi Krishna,

      As far as I know, Login flows can be associated with profiles only. I am not aware of any setting which initiates login flow for all users in organization.

      Thanks,
      Sunil Kumar

      Delete
  5. Is it possible to display images/screenshots in a login flow? I can get the images to display if I run the flow manually (via the Run button in the designer window), but when I run it as a login flow, the images don't appear. I have my image uploaded as a Document, to a public folder, and marked as external. The HTML I'm using is (adding without the outside brackets because it won't let me post otherwise)

    img src="/servlet/servlet.ImageServer?id=0152D000000Dxxx&oid="00D2D0000000xxx"/

    ReplyDelete
  6. Replies
    1. Great Article. Thank you for sharing! Really an awesome post for every one.

      IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Project Domains for IT It gives you tips and rules that is progressively critical to consider while choosing any final year project point.

      JavaScript Training in Chennai

      JavaScript Training in Chennai

      Delete
  7. Great blog thanks for sharing Consistent and relevant content is the best ways to drive in massive amounts of traffic to your website through Search Engines. Adhuntt Media’s content creation team has got everything covered for you - from high-grade blogs that engage the reader and hit all the sweet SEO spots, unique design posts for your social media feed and professional videos for video marketing.
    digital marketing company in chennai
    seo service in chennai
    web designing company in chennai
    social media marketing company in chennai

    ReplyDelete
  8. Nice blog thanks for sharing Set up your very own unique and classy vertical garden in Chennai. Karuna Nursery Gardens offers you with all the tools and services for building the best vertical garden in your neighbourhood.
    plant nursery in chennai
    rental plants in chennai
    corporate gardening service in chennai

    ReplyDelete
  9. Excellent blog thanks for sharing Pixies Beauty Shop is unlike any of the other cosmetic shops in Chennai. With tons of exclusive imported brands to choose from and the best value, this is the best shopping destination for your personal and salon needs.
    beauty Shop in Chennai

    ReplyDelete
  10. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts.
    Cyber Security Projects for Final Year

    JavaScript Training in Chennai

    Project Centers in Chennai

    JavaScript Training in Chennai

    ReplyDelete
  11. Very useful blog thanks for sharing IndPac India the German technology Packaging and sealing machines in India is the leading manufacturer and exporter of Packing Machines in India.

    ReplyDelete
  12. Nice information thank you,if you want more information please visit our link salesforce online training

    ReplyDelete
  13. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this... https://sites.google.com/site/hotmailloginonline/

    ReplyDelete
  14. When your website or blog goes live for the first time, it is exciting. That is until you realize no one but you and your. entrar hotmail

    ReplyDelete
  15. For instance, assume "xyz@gmail.com" has the principle secret key as "qwerty" and semi login secret word as "asdf". hotmail

    ReplyDelete
  16. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man learn
    Pega Online Training
    Pega Online Course

    ReplyDelete
  17. It is essential to communicate regularly and candidly with your employees. Salesforce training in Hyderabad

    ReplyDelete
  18. The content is very useful for me and very interesting. Surely, this post is very valuable for all readers. Primavera P6 Certification Training in Chennai | Primavera Training in India

    ReplyDelete
  19. I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers https://officialbopkingdlow.com/

    ReplyDelete
  20. This blog website is pretty cool! How was it made ! source

    ReplyDelete
  21. Thankyou for this wondrous post, I am glad I observed this website on yahoo. 토토커뮤니티

    ReplyDelete
  22. The most recent declarations have made ready for organizations to consider how to use the extra new abilities by Salesforce notwithstanding the current cloud includes in Salesforce. Job oriented training on Salesforce in Pune

    ReplyDelete
  23. RSJ is at the top of our game when it comes to tax-minimization strategies for asset growth, protection and transfer. We have always known that something was missing from traditional estate planning for high-net-worth families. hop over to this website

    ReplyDelete
  24. That is really nice to hear. thank you for the update and good luck. pengeluaran togel hongkong

    ReplyDelete
  25. All your hard work is much appreciated. Nobody can stop to admire you. Lots of appreciation. 대전건마

    ReplyDelete
  26. Thank you so much for such a well-written article. It’s full of insightful information. Your point of view is the best among many without fail.For certain, It is one of the best blogs in my opinion. filler ใต้ตา

    ReplyDelete
  27. Do you need an urgent loan of any kind? Loans to liquidate debts or need to loan to improve your business have you been rejected by any other banks and financial institutions? Do you need a loan or a mortgage? This is the place to look, we are here to solve all your financial problems. We borrow money for the public. Need financial help with a bad credit in need of money. To pay for a commercial investment at a reasonable rate of 3%, let me use this method to inform you that we are providing reliable and helpful assistance and we will be ready to lend you. Contact us today by email: daveloganloanfirm@gmail.com Call/Text: +1(501)800-0690 And whatsapp: +1 (501) 214‑1395

    NEED A LOAN?
    Ask Me.

    ReplyDelete
  28. At Inovi, we’re committed to achieving the highest success rates while providing personalized care to our patients. Our Houston location offers expert care and is home to our state-of-the-art embryology lab. like it

    ReplyDelete
  29. Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers! 토토사이트

    ReplyDelete
  30. I am always looking for some free kinds of stuff over the internet. There are also some companies which give free samples. But after visiting your blog, I do not visit too many blogs. Thanks. 온라인바둑이

    ReplyDelete
  31. I really like your writing style, great information, thankyou for posting. test bank nursing

    ReplyDelete
  32. It proved to be Very helpful to me and I am sure to all the commentators here! 토토커뮤니티

    ReplyDelete
  33. This is actually the kind of information I have been trying to find. Thank you for writing this information. 먹튀검증

    ReplyDelete
  34. Nice post. I was checking constantly this blog and I’m impressed! Extremely useful info specially the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and good luck. 먹튀폴리스

    ReplyDelete
  35. I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts. 먹튀검증

    ReplyDelete
  36. i was just browsing along and came upon your blog. just wanted to say good blog and this article really helped me. 대전건마

    ReplyDelete
  37. This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. 바둑이

    ReplyDelete
  38. This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. 바둑이게임

    ReplyDelete
  39. I wrote about a similar issue, I give you the link to my site. 토토사이트

    ReplyDelete
  40. I prefer merely excellent resources - you will see these people in: 토토사이트

    ReplyDelete
  41. Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards, 토토사이트 인디벳

    ReplyDelete
  42. If you are looking for more information about flat rate locksmith Las Vegas check that right away. detectives privados madrid

    ReplyDelete
  43. Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks. detectives en barcelona

    ReplyDelete
  44. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! 토토사이트

    ReplyDelete
  45. It was wondering if I could use this write-up on my other website, I will link it back to your website though.Great Thanks. 토토사이트

    ReplyDelete
  46. Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks 토토사이트

    ReplyDelete
  47. This site seems to inspire me a lot. Thank you so much for organizing and providing this quality information in an easy to understand way. I think that a healthy era of big data can be maintained only when such high-quality information is continuously produced. And I, too, are working hard to organize and provide such high-quality information. It would be nice to come in once and get information.

    Also visit my site:파워볼


    ReplyDelete
  48. Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it. 토토사이트

    ReplyDelete
  49. I have read your article couple of times because your views are on my own for the most part. It is great content for every reader. Lottery Sambad

    ReplyDelete
  50. I think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing. 오피아트

    ReplyDelete
  51. Wow i can say that this is another great article as expected of this blog.Bookmarked this site.. 먹튀검증업체

    ReplyDelete
  52. I read a article under the same title some time ago, but this articles quality is much, much better. How you do this.. 먹튀폴리스

    ReplyDelete
  53. HOW I GO MY DESIRED XMAS LOAN AMOUNT $520,000.00 FROM A RELIABLE AND TRUSTED LOAN COMPANY LAST WEEK. Email for immediate response: drbenjaminfinance@gmail.com

    Hello everyone, Am here to testify of how i got my loan from BENJAMIN LOAN FINANCE(drbenjaminfinance@gmail.com) I don't know if you are in need of an urgent loan to pay bills, start business or build a house, they offer all kinds of loan. So feel free to contact Dr.Benjamin Scarlet Owen he holds all of the information about how to obtain money quickly and painlessly via Email: drbenjaminfinance@gmail.com

    and consider all your financial problems tackled and solved. Share this to help a soul right now, Thanks


    ReplyDelete
  54. Tahir termite service – TTS® is the largest independently owned pest control company in Lahore, Pakistan.Termite Control Lahore

    ReplyDelete
  55. Teatime Results Draw takes place at 5:49 pm (UK time) from February to October, and 4:49 pm throughout the rest of the year. UK49s Teatime Results. The UK49s ...
    https://politicsinquotes.com/

    ReplyDelete
  56. We have the best and premium service portfolio that makes us the right and best choice for you.Pest control Service in Lahore

    ReplyDelete
  57. [6:31 pm, 09/12/2021] +1 (804) 582-4540: It Tears me Up Whenever we receive complaints from Clients About Their Experience With the Hackers They Met Before They Heard about us.
    These Days There Are alot of Hackers Online, You Just Have to Be Careful about who you meet for help, because many people now don't know who to ask for help anymore but there's actually a solution to that which I am giving you for free, Don't go out there seeking for Hackers Yourself, Because the probability of getting a Real Hacker Out there Is Very Slim . ❌❌ ❌ Most Of Them are actually not who they say they're, they are just here to Rip people Off, You Can Always Identify Them With Their False Advertisements and False Testimonies Trying To Lure you Into their Arms, And most of them use yahoomails, gmails and other cheaper email providers which could easily expose their vulnerabilities, Please Don’t Fall For Them🚷 Come To Think Of It, Why would a Legit Hacker Be using a gmail or a cheap email provider that exposes his vulnerabilities????⚠️⚠️⚠️
    Well, Our Purpose Here Is To Link You Up With Top Legit Hackers With Great Online Reputations and Impressive LinkedIn Profiles That’ll Blow Your Mind.

    ☑️ COMPOSITE FIRMWARE SECURITY SPECIALISTS is here to Provide you with The Best Hackers, So you can get saved from The Arms of the Fake Hackers❌❌.


    ☑️All our Specialists are well experienced in their various niches with Great Skills, Technical Hacking Strategies And Positive Online Reputations And Recommendations🔘
    They hail from a proven track record and have cracked even the toughest of barriers to intrude and capture all relevant data needed by our Clients.

    We have Digital Forensic Specialists, Certified Ethical Hackers, Software Engineers, Firmware Security Experts, Private investigators and more. Our Goal is to make your digital life secure, safe and hassle free by Linking you Up With these great Professionals such as JACK CABLE, ARNE SWINNEN, SEAN MELIA, DAWID CZAGAN, BEN SADEGHIPOUR And More. These Professionals are Well Reserved Professionals who are always ready to Handle your job with great energy and swift response so that your problems can be solved very quickly.
    All You Need to Do is to send us a mail and we’ll Assign any of these specialists to Handle your Job immediately.

    ☑️ Below Is A Full List Of Our Services:
    ▪️ FUNDS RECOVERY ON SCAM INVESTMENTS, BINARY OPTIONS TRADING and ALL TYPES OF SCAMS.
    ▪️ WEBSITE AND DATABASE HACKING 💻
    ▪️ CREDIT REPAIR. 💳
    ▪️ PHONE HACKING & CLONING (giving you 📱 Unnoticeable access to everything Happening on the Target’s Phone)
    ▪️ CLEARING OF CRIMINAL RECORDS ❌
    ▪️ SOCIAL MEDIA ACCOUNTS HACKING 📱
    ▪️RECOVERY OF DELETED FILES 📤
    ▪️LOCATION TRACKING 📌
    ▪️BITCOIN MINING ⛏ And lot More.


    ☑️ CONTACT:
    .....
    firmwarehacks@gmail.com
    🔘2021 © composite firmware specialists
    🔘Want faster service? Contact us!
    🔘All Rights Reserved ®️

    ReplyDelete
  58. xxx video - Bad credit loans no guarantor - Bad Credit History offers guaranteed loans for people with very bad credit from £500 up to £75000 with no guarantor, credit check, broker and no fees.

    ReplyDelete
  59. I think this is an informative post and it is very useful and knowledgeable. We provide LCD modules/LCD Displays, Graphic LCM, smart Display LCD, TFT LCM, Custom LCD Module Display, and LCD panels. china LCD Manufacturers.

    tft-lcd modules

    ReplyDelete
  60. Existing without the answers to the difficulties you’ve sorted out
    through this guide is a critical case, as well as the kind which could
    have badly affected my entire career if I had not discovered your
    website.
    C#.NET Training In Chennai
    hadoop training in chennai
    software testing training in chennai

    ReplyDelete
  61. Today's Video Dramas Serials Update and Reality Shows online. Live hotstar Desi Tv Serials. Hindi TV Serial Upcoming tellyupdates. Written Episod Update Telly ...
    https://apnetvserialz.com/

    ReplyDelete
  62. Thanks for sharing this useful content. Munafawala is Best Loan Company in Jaipur Offers Different Types of Bank Loans in Jaipur ·

    Best Loan Company in Jaipur

    ReplyDelete
  63. I appreciate you sharing this blog article. Really thank you! Really Great.
    privnote

    ReplyDelete
  64. Nice post.

    Conversational AI is AI-driven virtual assistant that interacts with the user to provide seamless and automated support with minimal human intervention. They use the technology of Artificial Intelligence to understand the context of the questions asked and provide personalized support that is unique for the concerned user.
    Conversational AI service desk

    ReplyDelete
  65. Nice blog thank you .For your Sharing It's a pleasure to read your post.It's full of information I'm looking for and I'd like to express that "The content of your post is awesome"

    Dotnet Training in Chennai
    Core java Training in Chennai
    Web design Training in Chennai

    ReplyDelete
  66. you will need support or suggestions, write me privately.
    I interested in your implementation/use case.
    the best kera4d
    Togel2win

    ReplyDelete
  67. It helps a lot. Thank you. That a very useful writing. 메이저토토

    ReplyDelete
  68. I didn t know there was such a good place. I will visit often from now on. I hope your business thrives. 토토검증

    ReplyDelete
  69. I look forward to your kind cooperation. I wish I knew there was a place like this in the future, but I hope you prosper. I ll come often. 토토

    ReplyDelete
  70. Nice knowledge gaining article. This post is really the best on this valuable topic 스포츠토토분석

    ReplyDelete
  71. Nice knowledge gaining arti 토토사이트cle. This post is really the best on this valuable topic

    ReplyDelete
  72. This is very interesting! Great information and it is also very well written. I will bookmark and comeback soon 토토사이트검증

    ReplyDelete
  73. The TBS applications make watching movies and complete episodes of your favorite shows effortless. The application is available on all major streaming platforms including Apple, Android, Roku, and Fire TV. To watch TBS programming one of these streaming devices, install the TBS app from the relevant application store and then get it activated at tbs.com/activate. Make sure you have a TV provider account to link the app. For complete details, refer to this post.

    ReplyDelete
  74. Medical Products Simplibuy is your online one-stop resource for buying medical supplies, diagnostic equipment and accessories.Medical Equipment

    ReplyDelete
  75. BubzyRecruitment consultants have unparalleled recruiting expertise and an in-depth knowledge of the UK construction jobs market.construction recruitment agencies Bournemouth

    ReplyDelete
  76. At BubzyPainting, we've qualified painters and decorators with over 30 years of experience to provide quality painting and decoration services.Painting Services in St Helens

    ReplyDelete
  77. Ultimately, that decision is down to you. Based on the information above, you can look at your goods and deliveries.delivery near aarons hill

    ReplyDelete
  78. I am so delighted I found your weblog, I really found you by accident,
    And would just like to say thank you for a fantastic post and a all round entertaining blog (I also love the theme/design), SOMEONE CAN MAKE FAKE DRIVERS LICENSE THAT WORKS FROM HOME SAME AS THE LICENSE ISSUED I don't have time to go through it all at the minute but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the excellent job.

    Y’all don’t forget to join this DMV EXPERTS TELEGRAM GROUP for more information about new drivers license and updated materials being used along the production process of the DL . You can also take advantage to learn and meet many Experts who will guide you on numerous techniques for anyone who love hacking and don’t know how to go about it .

    ReplyDelete
  79. Water Heater Installation In Dubai Alternatively, learn more about how simple annual maintenance contracts can save you time, stress and money on your Home Maintenance Services Company in Dubai.Tiling Work In Dubai

    ReplyDelete