<?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 define process variables inside a process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-define-process-variables-inside-a-process/m-p/9294#M3278</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;what is the easiest way to define process variables inside of the process?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't want to inject them from the outside but define them as part of the process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe using a little Groovy script or a Java service task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally directly in BPMN. But I can't figure out how it can be done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What would be the easiest way? Your suggestions would be highly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2011 07:53:04 GMT</pubDate>
    <dc:creator>kaech</dc:creator>
    <dc:date>2011-03-10T07:53:04Z</dc:date>
    <item>
      <title>How to define process variables inside a process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-define-process-variables-inside-a-process/m-p/9294#M3278</link>
      <description>Hi,what is the easiest way to define process variables inside of the process?I don't want to inject them from the outside but define them as part of the process.Maybe using a little Groovy script or a Java service task?Ideally directly in BPMN. But I can't figure out how it can be done.What would be</description>
      <pubDate>Thu, 10 Mar 2011 07:53:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-define-process-variables-inside-a-process/m-p/9294#M3278</guid>
      <dc:creator>kaech</dc:creator>
      <dc:date>2011-03-10T07:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to define process variables inside a process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-define-process-variables-inside-a-process/m-p/9295#M3279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I found it. Using a script task would be the simplest approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I's described in the user guide &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/index.html#bpmnScriptTask" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/index.html#bpmnScriptTask&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 08:55:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-define-process-variables-inside-a-process/m-p/9295#M3279</guid>
      <dc:creator>kaech</dc:creator>
      <dc:date>2011-03-10T08:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to define process variables inside a process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-define-process-variables-inside-a-process/m-p/9296#M3280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think u can do it with or during Java Service Task also:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;public class ServiceTask implements JavaDelegate {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void execute(DelegateExecution execution) throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; execution.setVariable(variableName, value);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alexej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 09:51:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-define-process-variables-inside-a-process/m-p/9296#M3280</guid>
      <dc:creator>al_lv</dc:creator>
      <dc:date>2011-03-10T09:51:43Z</dc:date>
    </item>
  </channel>
</rss>

