<?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 Start procces from java delegate with the 'Started by' user information in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/start-procces-from-java-delegate-with-the-started-by-user/m-p/14518#M6372</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a java delegate that start other process with this code:&lt;/P&gt;&lt;PRE&gt;RuntimeService runtimeService = execution.getEngineServices().getRuntimeService();
ProcessInstance processInstance = runtimeService.startProcessInstanceByKeyAndTenantId("process2",variables,"tenant_1");&lt;/PRE&gt;&lt;P&gt;but the process started appear without the "Started by" user information and show the message " PROCESS.MESSAGE.NO-STARTER".&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I have tried to link the user after starting the process, as starter and also as owner, but without result.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;runtimeService.addUserIdentityLink(processInstance.getId(),execution.getVariable("initiator").toString(),IdentityLinkType.&lt;SPAN class="memberNameLink"&gt;STARTER&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Is there any way to launch a process from a java delegate and assign the "started by" user?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2021 08:53:42 GMT</pubDate>
    <dc:creator>rgonzalez</dc:creator>
    <dc:date>2021-01-26T08:53:42Z</dc:date>
    <item>
      <title>Start procces from java delegate with the 'Started by' user information</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/start-procces-from-java-delegate-with-the-started-by-user/m-p/14518#M6372</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a java delegate that start other process with this code:&lt;/P&gt;&lt;PRE&gt;RuntimeService runtimeService = execution.getEngineServices().getRuntimeService();
ProcessInstance processInstance = runtimeService.startProcessInstanceByKeyAndTenantId("process2",variables,"tenant_1");&lt;/PRE&gt;&lt;P&gt;but the process started appear without the "Started by" user information and show the message " PROCESS.MESSAGE.NO-STARTER".&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I have tried to link the user after starting the process, as starter and also as owner, but without result.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;runtimeService.addUserIdentityLink(processInstance.getId(),execution.getVariable("initiator").toString(),IdentityLinkType.&lt;SPAN class="memberNameLink"&gt;STARTER&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Is there any way to launch a process from a java delegate and assign the "started by" user?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 08:53:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/start-procces-from-java-delegate-with-the-started-by-user/m-p/14518#M6372</guid>
      <dc:creator>rgonzalez</dc:creator>
      <dc:date>2021-01-26T08:53:42Z</dc:date>
    </item>
  </channel>
</rss>

