<?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 How to add the process variable in process instance ? Example ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-the-process-variable-in-process-instance-example/m-p/171181#M124446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How to add the process variable in process instance ? Example ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jan 2014 13:11:16 GMT</pubDate>
    <dc:creator>demouser</dc:creator>
    <dc:date>2014-01-08T13:11:16Z</dc:date>
    <item>
      <title>How to add the process variable in process instance ? Example ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-the-process-variable-in-process-instance-example/m-p/171181#M124446</link>
      <description>How to add the process variable in process instance ? Example ?</description>
      <pubDate>Wed, 08 Jan 2014 13:11:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-the-process-variable-in-process-instance-example/m-p/171181#M124446</guid>
      <dc:creator>demouser</dc:creator>
      <dc:date>2014-01-08T13:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to add the process variable in process instance ? Example ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-the-process-variable-in-process-instance-example/m-p/171182#M124447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are various ways of adding variables. Eg, when starting a process:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;Map&amp;lt;String, Object&amp;gt; vars = new HashMap&amp;lt;String, Object&amp;gt;();&lt;BR /&gt;vars.put("variableToSet", 123);&lt;BR /&gt;&lt;BR /&gt;ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("processKey", vars);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;On a running process-instance:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;runtimeService.setVariable(processInstance.getId(),"varToSet", 456);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Look at the runtimeServcie API for more methods related to variables. Read all javadocs of the API-classes to get a good overview of what is possible…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 09:56:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-the-process-variable-in-process-instance-example/m-p/171182#M124447</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-09T09:56:39Z</dc:date>
    </item>
  </channel>
</rss>

