<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Want to display the name of the logged in user in people control of activiti form. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213963#M167093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi There,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am very new to this activiti. I created a process which has one user task and one service task. In user, I attached a form which has a people control in it. When a user lauches this process through an app, the username of the user who launched the app should come in the people control automatically. I attached one task listener to the process. But it is giving me only the id of the logged in user. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2016 23:05:35 GMT</pubDate>
    <dc:creator>michael1993</dc:creator>
    <dc:date>2016-04-21T23:05:35Z</dc:date>
    <item>
      <title>Want to display the name of the logged in user in people control of activiti form.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213963#M167093</link>
      <description>Hi There,I am very new to this activiti. I created a process which has one user task and one service task. In user, I attached a form which has a people control in it. When a user lauches this process through an app, the username of the user who launched the app should come in the people control aut</description>
      <pubDate>Thu, 21 Apr 2016 23:05:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213963#M167093</guid>
      <dc:creator>michael1993</dc:creator>
      <dc:date>2016-04-21T23:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Want to display the name of the logged in user in people control of activiti form.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213964#M167094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;degatetask.setVariable &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;("user", delegateTask.getA­ssignee ( ) ) ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;User is the id of the people control.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 23:14:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213964#M167094</guid>
      <dc:creator>michael1993</dc:creator>
      <dc:date>2016-04-21T23:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Want to display the name of the logged in user in people control of activiti form.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213965#M167095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone there help me on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Apr 2016 11:22:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213965#M167095</guid>
      <dc:creator>michael1993</dc:creator>
      <dc:date>2016-04-23T11:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Want to display the name of the logged in user in people control of activiti form.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213966#M167096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://activiti.org/userguide/index.html#bpmnStartEvents" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#bpmnStartEvents&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;initiator: identifies the variable name in which the authenticated user id will be stored when the process is started. Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 11:20:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213966#M167096</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-04-25T11:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Want to display the name of the logged in user in people control of activiti form.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213967#M167097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, but I am not sure how and where to use this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is my tasklistener which I configured with my process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public class DelegateTaskListener implements TaskListener{&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; @Override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; public void notify(DelegateTask delegateTask) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; delegateTask.setVariable("user", delegateTask.getAssignee());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it is giving me only id of the user after starting the process.&amp;nbsp; But I want name of the user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got id of the user in "User" field. But when I select my name from the drop down of the "Default Assignee", it is showing me the name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need the same in "User" as "Default Assignee".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 12:26:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213967#M167097</guid>
      <dc:creator>michael1993</dc:creator>
      <dc:date>2016-04-25T12:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Want to display the name of the logged in user in people control of activiti form.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213968#M167098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure I'm following, but I think you need to use the 'initiator' variable here. It stores the id of the user that started the process instance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 11:41:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213968#M167098</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-04-26T11:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Want to display the name of the logged in user in people control of activiti form.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213969#M167099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How to use the initiator variable ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using java-code ? Javascript ? script task ? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 12:59:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/want-to-display-the-name-of-the-logged-in-user-in-people-control/m-p/213969#M167099</guid>
      <dc:creator>madn</dc:creator>
      <dc:date>2016-05-04T12:59:20Z</dc:date>
    </item>
  </channel>
</rss>

