<?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: Start process synchronously and return results Back in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125645#M88422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is the exact same request:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/out-variables-primary-process-proposal" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/out-variables-primary-process-proposal&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 16:28:38 GMT</pubDate>
    <dc:creator>smirzai</dc:creator>
    <dc:date>2013-08-23T16:28:38Z</dc:date>
    <item>
      <title>Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125637#M88414</link>
      <description>Actually this is a continuation of this topic:&amp;nbsp;&amp;nbsp; http://forums.activiti.org/content/starting-process-instance-synchronouslyEspecially in OLTP or embeded use cases, one wants to run the workflow and get the results synchronously. In some cases there is no real database behind or the performance requi</description>
      <pubDate>Wed, 17 Jul 2013 09:49:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125637#M88414</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-07-17T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125638#M88415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, actually the name of the function should be something else, say&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Map outcome = runtimeService.startInstanceSync("myProcess", vars);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 09:53:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125638#M88415</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-07-17T09:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125639#M88416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1st idea :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks great, fits exactly with what I had in mind. We could then enhance the designer UI to map these output variables like it is done in call activity mapping.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2nd idea :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe an even simpler approach would be to always return in the map all variables in scope at the end of the process, so you don't even need to define the mapping, just to add these startInstanceSync methods in the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Honestly I’m not sure it really adds that much value to specify which variables are published at the end of the process so I would recommend the 2nd idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 10:25:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125639#M88416</guid>
      <dc:creator>mdaviot</dc:creator>
      <dc:date>2013-07-17T10:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125640#M88417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I understand where you're coming from. Processes without wait-state won't be in the runtime-tables because, at the end of the API-call, all entities are deleted. only history is left behind. However, there is more to a process than just it's variables (path it went trough, for example) so I'm not sure it's as simple as just returning a map of variables (also, what with sub-execution-variables and name-clashes).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, you can use a process-end listener (and potentially the BPMNParseHandler approach to add listeners to any process to keep BPMN xml unaware of spacial handling) that saves the process-variables etc. to a thead-local map. After you have called the startProcessByXXX() you access the map and have a blast &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 12:44:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125640#M88417</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-17T12:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125641#M88418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Something like that is the idea for implementation. But don't you think adding the support to the engine itself, instead of configuring it each time, might be a useful extension for Activiti ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 14:00:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125641#M88418</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-07-17T14:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125642#M88419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it would be a useful extension if the result you get back is actually complete (not just the variables). This should be thought trough if we want to add it to the engine. ATM, we don't have the bandwidth ourselves to add this feature, but I'm happy the review/discuss any suggestions/implementations around this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 14:28:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125642#M88419</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-17T14:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125643#M88420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not convinced we should add this feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your process is 100% synchronous, simply pass an object in the variables map, and populate the object values during process execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When your process finished, the object will now have all the values set. This already works now and doesn't need any new implementation work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 09:22:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125643#M88420</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-07-23T09:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125644#M88421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@jbarrez: even if the process is not itslef 100% synchronous, one may want to call it synchronously and wait until all the paths are completed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:26:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125644#M88421</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-08-23T12:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125645#M88422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is the exact same request:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/out-variables-primary-process-proposal" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/out-variables-primary-process-proposal&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 16:28:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125645#M88422</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-08-23T16:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125646#M88423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm just afraid of adding thread waiting to a call. It is a potential performance bottleneck of major implications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti has never interfered with client threads so far, and I'd like to keep it that way, it keeps things simple and understandable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you really need it, it's very easy to do yourself with thread waiting and polling the service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 09:41:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125646#M88423</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-09-03T09:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125647#M88424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@Joram&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Referring to your answer above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"If your process is 100% synchronous, simply pass an object in the variables map, and populate the object values during process execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When your process finished, the object will now have all the values set. This already works now and doesn't need any new implementation work."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My process is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Map&amp;lt;String, Object&amp;gt; variables = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variables.put("accountNumber", accountNumber);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variables.put("errorFlow", false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variables.put("respObject", null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variables.put("respStatus", null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RuntimeService runtimeService = processEngine.getRuntimeService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("GetAccountPriceCategory", variables);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In one of the tasks I set the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution.setVariable("respObject", accountPriceCategory);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution.setVariable("respStatus", Status.OK);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when the process finishes respObject and respStatus are null. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 16:28:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125647#M88424</guid>
      <dc:creator>fnoorie</dc:creator>
      <dc:date>2015-04-27T16:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125648#M88425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, the respObject would need to be a real object, with a member field for the stuff you want to store.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 18:56:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125648#M88425</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-04-28T18:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125649#M88426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Could you please post an example of using a real object for returning values from a workflow? I haven't been able to implement it with Activiti 5.19.0. Thanks a lot in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 15:52:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125649#M88426</guid>
      <dc:creator>jubedus</dc:creator>
      <dc:date>2016-01-27T15:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125650#M88427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You simply create a Pojo, with some member fields. You pass it when doing startProcessInstanceByKey(key, variables) in the variables map. When the process is straight through, all the changes that have been done in the process to the pojo will be in the actual pojo (as no copy has been made … this only works for a straight through process!)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 08:52:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125650#M88427</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-02-01T08:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125651#M88428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi jbarrez,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to Acititvi BPM. I read lots of post ,books,forums.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please explain with simple example , How an html form will call "start Event" . I mean to say how external third party UI will call BPM and controll the all activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actitviti User guide doed not help me . I am using ACTVITI-5x&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you will explain me ,it will great help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 06:54:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125651#M88428</guid>
      <dc:creator>gourahari_activ</dc:creator>
      <dc:date>2016-06-03T06:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125652#M88429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi jbarrez,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to Acititvi BPM. I read lots of post ,books,forums.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please explain with simple example , How an html form will call "start Event" . I mean to say how external third party UI will call BPM and controll the all activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actitviti User guide doed not help me . I am using ACTVITI-5x&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you will explain me ,it will great help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 06:55:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125652#M88429</guid>
      <dc:creator>gourahari_activ</dc:creator>
      <dc:date>2016-06-03T06:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125653#M88430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I responded to your duplicate of this post somewhere else.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 08:23:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125653#M88430</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-06-03T08:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Start process synchronously and return results Back</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125654#M88431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Below is the sample code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;***********&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Map&amp;lt;String, Object&amp;gt; map = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.put("appId", appId);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.put("appName", appName);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* to catch workflow execution result */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.put("regResult", new AppRegistrationResult());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessInstance process = this.processEngine.getRuntimeService()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .startProcessInstanceByKey("AppRegistrationProcess", map);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* extract the result */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AppRegistrationResult registrationResult = map.get("regResult");&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 13:02:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-process-synchronously-and-return-results-back/m-p/125654#M88431</guid>
      <dc:creator>chary</dc:creator>
      <dc:date>2016-08-24T13:02:49Z</dc:date>
    </item>
  </channel>
</rss>

