<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>User status changes are not reflecting</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=39428360" />
  <subtitle>User status changes are not reflecting</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=39428360</id>
  <updated>2026-04-06T00:27:52Z</updated>
  <dc:date>2026-04-06T00:27:52Z</dc:date>
  <entry>
    <title>RE: R: User status changes are not reflecting</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39489790" />
    <author>
      <name>Krzysztof Gołębiowski</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39489790</id>
    <updated>2014-07-01T05:53:56Z</updated>
    <published>2014-07-01T05:53:56Z</published>
    <summary type="html">What do you mean by &amp;#34;real workflow is not available on users at all&amp;#34;? I&amp;#39;m sure it&amp;#39;s there &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt; we have this functionality in one of out portals (6.1.1) and I&amp;#39;m sure field status is workflow-related. Check the &lt;a href="https://github.com/liferay/liferay-portal/blob/6.1.2-ga3/portal-impl/src/com/liferay/portlet/directory/workflow/UserWorkflowHandler.java#L56-L80"&gt;UserWorkflowHandler&lt;/a&gt; for 6.1.x and the screen attached to this post (for 6.2).&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;KG</summary>
    <dc:creator>Krzysztof Gołębiowski</dc:creator>
    <dc:date>2014-07-01T05:53:56Z</dc:date>
  </entry>
  <entry>
    <title>R: User status changes are not reflecting</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39480828" />
    <author>
      <name>Pier Paolo Ramon</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39480828</id>
    <updated>2014-06-30T23:42:40Z</updated>
    <published>2014-06-30T23:42:40Z</published>
    <summary type="html">AFAIK that status property is not actual-workflow-related. It was just an unfortunate name in the long run. And, AFAIK, real workflow is not available on users at all. You&amp;#39;ll have to change the active flag manually in your application.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: gray"&gt;Sent from my iPhone with &lt;a href="http://smclab.github.io/liferay-forums-app"&gt;Liferay.com Forums&lt;/a&gt;&lt;/span&gt;</summary>
    <dc:creator>Pier Paolo Ramon</dc:creator>
    <dc:date>2014-06-30T23:42:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: User status changes are not reflecting</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39474229" />
    <author>
      <name>Krzysztof Gołębiowski</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39474229</id>
    <updated>2014-06-30T20:42:24Z</updated>
    <published>2014-06-30T20:42:24Z</published>
    <summary type="html">Hello Sunil,&lt;br /&gt;You don&amp;#39;t need to write custom code to enable workflow for User, it is supported by default in Liferay. You just have to enable single-approver workflow shipped with kaleo (or create custom one) in &amp;#34;Default Configuration&amp;#34; for Portal Workflow settings.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;KG</summary>
    <dc:creator>Krzysztof Gołębiowski</dc:creator>
    <dc:date>2014-06-30T20:42:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: User status changes are not reflecting</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39428485" />
    <author>
      <name>Sunil Kulkarni</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39428485</id>
    <updated>2014-06-29T08:10:59Z</updated>
    <published>2014-06-29T08:10:59Z</published>
    <summary type="html">There is no API exist where I can give the status of the User while creation.&lt;br /&gt;&lt;br /&gt;Any pointers????</summary>
    <dc:creator>Sunil Kulkarni</dc:creator>
    <dc:date>2014-06-29T08:10:59Z</dc:date>
  </entry>
  <entry>
    <title>User status changes are not reflecting</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39428359" />
    <author>
      <name>Sunil Kulkarni</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=39428359</id>
    <updated>2014-06-29T07:04:33Z</updated>
    <published>2014-06-29T07:04:33Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hello All,&lt;br&gt;&lt;br&gt;I am using LR EE 6.1.3&lt;br&gt;&lt;br&gt;I have created custom portlet which will manger user CRUD operations. I am using LR APIs for CRUD operation of User from UserLocalServiceUtil.&lt;br&gt;My requirement is, when user will be created in system, it should be in pending state and user should not be allowed in the system.&lt;br&gt;&lt;br&gt;To achieve this, I have run SB to create wrapper service without entity attributes, say UserOperations. &lt;br&gt;I have added following method in UserOprtationLocalServiceImpl&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;public User addUser(....) throws PortletException, SystemException {
      User user = UserLocalServiceUtil.addUser(...);
      user = UserLocalServiceUtil.updateStatus(user.getUserId(), WorkflowConstants.STATUS_PENDING);
}&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;When I am calling this method from my portlet, status of the defect is not not updated. It is created a user with status as APPROVED.&lt;br&gt;&lt;br&gt;Am I missing anything?&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Sunil Kulkarni</dc:creator>
    <dc:date>2014-06-29T07:04:33Z</dc:date>
  </entry>
</feed>
