<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/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>User LifeCyle</title><link>https://www.aras.com/community/f/development/3659/user-lifecyle</link><description>Hello Experts,

I&amp;#39; m a new guy in Aras Innovator.

in the first step I created a Lifecycle for the User.
Everytime a new user is created, the Lifecycle state will set the state to &amp;quot;enabled&amp;quot; with&amp;#160; an&amp;quot;onAfterAdd&amp;quot; method. This works fine for me.

In the</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: User LifeCyle</title><link>https://www.aras.com/community/thread/1496?ContentTypeID=1</link><pubDate>Wed, 18 Apr 2018 07:28:51 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3f887751-c5aa-494a-b645-a76f5c5348a5</guid><dc:creator>John West</dc:creator><description>Hi Eli,

thanks for your help.
I solved the problem.

Regards John&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: User LifeCyle</title><link>https://www.aras.com/community/thread/1487?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 15:09:26 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d4e6af3b-5979-4546-bee5-b37bad576ba8</guid><dc:creator>Eli Donahue</dc:creator><description>Hi John,

You should be able to create an onAfterEdit event that follows the pseudocode below:
&lt;pre&gt;if (logon_enabled == 1 &amp;amp;&amp;amp; state == &amp;quot;Disabled&amp;quot;)
    this.promote(&amp;quot;Enabled&amp;quot;);

if (logon_enabled == 0 &amp;amp;&amp;amp; state == &amp;quot;Enabled&amp;quot;)
    this.promote(&amp;quot;Disabled&amp;quot;);
&lt;/pre&gt;
Hope this helps!

Eli

&lt;hr /&gt;

Eli Donahue

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>