Login User Flow Behavior
  • Updated on 10 Apr 2017
  • 1 minute to read
  • Print
  • Dark
    Light

Login User Flow Behavior

  • Print
  • Dark
    Light

This tutorial demonstrates how to trigger some processes in Decisions based on User Login event. This functionality was introduced in Decisions 4.0.
Example:
In this example we are going to create a Flow that will be triggered when user logs in toDecisions Portal . Also, this Flow will be sending an Email notifying us about this.
We begin in the Designer Folder with clicking Create Flow on the Folder Actions Panel.
2018-06-27_1333407.png

Then, we Name the Flow . Also, we pick Login User Flow from Behavior drop-down list. Click Ok to continue.
2018-06-28_122150.png

In the Flow Designer we add Send Email step from Favorite Steps category.
2018-06-28_122932.png

Next, we configure mapping data for our Send Email step.
To learn more on how to send email from the Flow, please click here .
For our Email Body we use Text Merge.Plain Mapping Type . Note, in Login User Flow Behavior we have Login User Info data that can be used in the Flow .
We compose our email body in the Merge Text Editor and click Ok to save and continue.
2018-06-28_142329.png

Next, we connect the outcome from the Send Email Step to the End Step in our Flow . This completes our Flow . We can save the Flow and close Flow Designer.
2018-06-27_154629.png

Note: this Flow is not going to be triggered automatically when User Logs In. We need to point our Portal to this Flow to trigger it on User Log In.
We navigate to System > Settings Folder in Portal and Edit Portal Settings.
2018-06-27_145023.png

We search for “login” , locateLogin > Login User Flow (Executed after User Login) , and click Pick .
2018-01-09_095455-3.png

Then, we pick our Flow that we created previously in this tutorial and click Ok to save and continue.
2018-06-28_144510.png

Next, we click Ok to save changes to Portal Settings.
2018-01-09_095455-2.png

Now, when User Logs In to the Portal
loginUser.png

We receive new Email notification.
loginNotificationReceived.png

Was this article helpful?