<?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: How to pass strings to a subprocess in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-pass-strings-to-a-subprocess/m-p/86003#M58096</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;It seems that the Designer doesn't implement this future. You may report a Jira issue for this (&lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT&lt;/A&gt;&lt;SPAN&gt;) ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Atif&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jan 2012 13:40:05 GMT</pubDate>
    <dc:creator>atifelkhachine</dc:creator>
    <dc:date>2012-01-16T13:40:05Z</dc:date>
    <item>
      <title>How to pass strings to a subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-pass-strings-to-a-subprocess/m-p/86000#M58093</link>
      <description>I tried to include a subprocess via CallActivity according to http://www.activiti.org/userguide/index.html#bpmnCallActivityThe chapter says that I can pass variables to the subprocess.My problem is, that I don't have a variable in the main process, but I want only to pass a static string to the subp</description>
      <pubDate>Mon, 16 Jan 2012 09:19:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-pass-strings-to-a-subprocess/m-p/86000#M58093</guid>
      <dc:creator>bigp</dc:creator>
      <dc:date>2012-01-16T09:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass strings to a subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-pass-strings-to-a-subprocess/m-p/86001#M58094</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;You may use the dataInputAssociation like this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;callActivity id="callSubProcess" name="Call activity" calledElement="SubProcess"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:in sourceExpression="Hello" target="myVar"&amp;gt;&amp;lt;/activiti:in&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/callActivity&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see, the static string here is : Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And in the called activity you can print out the content in a ScriptTask like this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scriptTask id="scripttask1" name="Script Task" scriptFormat="groovy"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script&amp;gt;&amp;lt;![CDATA[System.out.println("myVar is : "+myVar);]]&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/scriptTask&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;This will print =&amp;gt; myVar is : Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hop this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Atif&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 12:44:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-pass-strings-to-a-subprocess/m-p/86001#M58094</guid>
      <dc:creator>atifelkhachine</dc:creator>
      <dc:date>2012-01-16T12:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass strings to a subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-pass-strings-to-a-subprocess/m-p/86002#M58095</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;SPAN&gt;okay so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The trick seems the difference between &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:in &lt;/SPAN&gt;&lt;STRONG&gt;sourceExpression&lt;/STRONG&gt;&lt;SPAN&gt;="REVIEWER" target="taskAssignees"&amp;gt;&amp;lt;/activiti:in&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:in &lt;/SPAN&gt;&lt;STRONG&gt;source&lt;/STRONG&gt;&lt;SPAN&gt;="REVIEWER" target="taskAssignees"&amp;gt;&amp;lt;/activiti:in&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first line will transfer the value in the Variable taskAssignees, the second not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I describe this difference in the Activiti Designer (Eclipse) without modifying the the …bpmn20.xml file every time?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;phil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 13:34:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-pass-strings-to-a-subprocess/m-p/86002#M58095</guid>
      <dc:creator>bigp</dc:creator>
      <dc:date>2012-01-16T13:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass strings to a subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-pass-strings-to-a-subprocess/m-p/86003#M58096</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;It seems that the Designer doesn't implement this future. You may report a Jira issue for this (&lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT&lt;/A&gt;&lt;SPAN&gt;) ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Atif&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 13:40:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-pass-strings-to-a-subprocess/m-p/86003#M58096</guid>
      <dc:creator>atifelkhachine</dc:creator>
      <dc:date>2012-01-16T13:40:05Z</dc:date>
    </item>
  </channel>
</rss>

