<?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 Re: Invocation of one process from other in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-one-process-from-other/m-p/165633#M119302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can start the new process instance with the variables you want to pass on from the calling process context. Just pass a Map of variables with the startProcessInstanceByKey method. Yes you can also do this from a listener. No you can't invoke a specific element in another process definition. You can only start a new process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 08:52:33 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2013-08-23T08:52:33Z</dc:date>
    <item>
      <title>Invocation of one process from other</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-one-process-from-other/m-p/165630#M119299</link>
      <description>Hi,I want to invoke one process from other but not using the call Activity. Is is possible to use the execution or task listeners to invoke the other process using ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("&amp;lt;newProcessId&amp;gt;");Please suggest.Thanks Sunil OzaSystem</description>
      <pubDate>Wed, 21 Aug 2013 11:46:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-one-process-from-other/m-p/165630#M119299</guid>
      <dc:creator>suoza</dc:creator>
      <dc:date>2013-08-21T11:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Invocation of one process from other</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-one-process-from-other/m-p/165631#M119300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi suoza,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as far as i know you can use the delegateTask when using a TaskListener(usertask) or the execution when using the JavaDelegate(servicetask).&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;delegateTask.getExecution().getEngineServices().getRuntimeService().startProcessInstanceByKey(arg0);&lt;/CODE&gt;&lt;SPAN&gt; (almost the same for execution). More information on &lt;/SPAN&gt;&lt;A href="http://www.jorambarrez.be/blog/2012/10/25/call-a-service-in-a-service-tas/" rel="nofollow noopener noreferrer"&gt;http://www.jorambarrez.be/blog/2012/10/25/call-a-service-in-a-service-tas/&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this is correct and helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 11:22:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-one-process-from-other/m-p/165631#M119300</guid>
      <dc:creator>fellowtom</dc:creator>
      <dc:date>2013-08-22T11:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Invocation of one process from other</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-one-process-from-other/m-p/165632#M119301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it also possible that when i invoke a process from the other sing the delegateTask.getExecution().getEngineServices().getRuntimeService().startProcessInstanceByKey(arg0) can i get the data or process variables form the calling process.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes can you suggest a way. Also this is only in case of Service task where we can configure a java class to be invoked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we do the same using listeners on Script task or user task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also is it possible we can invoke a process's particular task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example in Process1 we have a Script task and User task and from User task we invoke a process 2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In process 2 we have User task, Script task and Service task. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we invoke process2's Script task directly from user task of process 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please suggest how this can be done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 06:32:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-one-process-from-other/m-p/165632#M119301</guid>
      <dc:creator>suoza</dc:creator>
      <dc:date>2013-08-23T06:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Invocation of one process from other</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-one-process-from-other/m-p/165633#M119302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can start the new process instance with the variables you want to pass on from the calling process context. Just pass a Map of variables with the startProcessInstanceByKey method. Yes you can also do this from a listener. No you can't invoke a specific element in another process definition. You can only start a new process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 08:52:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-one-process-from-other/m-p/165633#M119302</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-08-23T08:52:33Z</dc:date>
    </item>
  </channel>
</rss>

