<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Process after login</title><link>https://community.appian.com/discussions/f/process/19040/process-after-login</link><description>Hi, 
 I need to start a process just after the user logs in to Appian and before landing to a site. This process is used to profile the user and give him the right access group. 
 How can I get this? Any idea? 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Process after login</title><link>https://community.appian.com/thread/74722?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 14:50:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8f9accfd-6677-4ab5-9608-ee30717d0325</guid><dc:creator>Gabriele Minardi</dc:creator><description>&lt;p&gt;Thank you Peter,&lt;/p&gt;
&lt;p&gt;we were thinking to an option like your second one, because the customer has a sort of hybrid authentication. No SAML, instead an LDAP directory service we use to nightly synch Appian and a separate web service call to put (or remove),&amp;nbsp;&amp;quot;on the fly&amp;quot;, the user in the right Appian group. So a default site page with a button could probably be the solution. But we have already developed the main site&amp;nbsp;with 4 pages, so&amp;nbsp;I&amp;#39;m not sure we could add a previous login site.&amp;nbsp;I hope we will manage to do everything with the only LDAP synch.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process after login</title><link>https://community.appian.com/thread/74698?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2020 17:27:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e7fe72ca-48cc-4272-89f4-4349a23b2aea</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Is the user already created before they log in or are they getting created on login? If they already exist, I&amp;#39;d suggest setting the process to run on whatever triggers the user creation, so that way they already exist in the correct group.&lt;/p&gt;
&lt;p&gt;If they are getting created on login,&amp;nbsp;there are a few options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Group_Management.html#view-or-modify-group-membership-rules"&gt;Group Membership rule&lt;/a&gt; - This allows you to define a rule for which users should be added to a group based on information in their profile. For example, you can add them to a group based on their department, or title.&lt;/li&gt;
&lt;li&gt;You could create a site page that all new users go to by default. Have them click a button which then moves them to the correct group and updates their start page.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Also, if you&amp;#39;re creating the user on login, I&amp;#39;d also consider if this is the best option. I&amp;#39;ve seen some cases where developers initially planned on this option, but eventually decided to create the users prior to login - see this &lt;a href="/discussions/f/administration/18470/auto-provisioning-a-user-with-saml-when-an-authentication-group-is-specified-in-saml-idp/72712#72712"&gt;conversation&lt;/a&gt;&amp;nbsp;for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>