<?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 REST API to start a process instance with variables  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-start-a-process-instance-with-variables/m-p/187916#M141046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are trying to use REST API to start a process instance with variables. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If we just add a variable "A" to start a process instance, activiti engine will add the variable "A" and its value in the process instance correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if we define a variable "A" in the global variable of the process definition, then we can't use variable "A" with its value to start the process, the activiti engine ignore the variable "A" and its value directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to update the variable "A" in a process definition by starting a process instance with variables?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S We can't update the variable after the process instance created, because the first task in the process is a system task, and it needs variable "A". We can't get the process instance id before the system task running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2014 03:15:51 GMT</pubDate>
    <dc:creator>jimmytototo</dc:creator>
    <dc:date>2014-11-18T03:15:51Z</dc:date>
    <item>
      <title>REST API to start a process instance with variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-start-a-process-instance-with-variables/m-p/187916#M141046</link>
      <description>Hi,We are trying to use REST API to start a process instance with variables. If we just add a variable "A" to start a process instance, activiti engine will add the variable "A" and its value in the process instance correctly.But if we define a variable "A" in the global variable of the process defi</description>
      <pubDate>Tue, 18 Nov 2014 03:15:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-start-a-process-instance-with-variables/m-p/187916#M141046</guid>
      <dc:creator>jimmytototo</dc:creator>
      <dc:date>2014-11-18T03:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to start a process instance with variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-start-a-process-instance-with-variables/m-p/187917#M141047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you post your process definition with global variable?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Process instance variables can be updated after the process starts.&lt;/SPAN&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>Wed, 19 Nov 2014 07:25:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-to-start-a-process-instance-with-variables/m-p/187917#M141047</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-11-19T07:25:01Z</dc:date>
    </item>
  </channel>
</rss>

