<?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 Share variables between workflows in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/share-variables-between-workflows/m-p/150110#M105004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to activiti and starting to get into scripting. Does anyone know if it is possible to define a global variable that can be used between workflows somehow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the Eclipse plugin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Olli&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Aug 2013 07:48:20 GMT</pubDate>
    <dc:creator>ojaro</dc:creator>
    <dc:date>2013-08-02T07:48:20Z</dc:date>
    <item>
      <title>Share variables between workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-variables-between-workflows/m-p/150110#M105004</link>
      <description>Hi all,I am new to activiti and starting to get into scripting. Does anyone know if it is possible to define a global variable that can be used between workflows somehow?I am using the Eclipse plugin.Regards,Olli</description>
      <pubDate>Fri, 02 Aug 2013 07:48:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-variables-between-workflows/m-p/150110#M105004</guid>
      <dc:creator>ojaro</dc:creator>
      <dc:date>2013-08-02T07:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Share variables between workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-variables-between-workflows/m-p/150111#M105005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You mean sharing a variable between multiple process-instances? This is not possible using activiti-variables, however, you can always use a static/singleton containing the values you want to share and hook it into the ExpressionManager of activiti (for example, by adding it to the "beans" map in processEngineConfiguration). If you do this, you can reference the "shared" variables from within expressions in your process-xml, e.g: "${globalVariables.get("someFlag" == true}".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to have the global variables persisted, you'll have to handle this yourself. You can always leverage the existing transactions of activiti if required.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 07:54:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-variables-between-workflows/m-p/150111#M105005</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-08-05T07:54:54Z</dc:date>
    </item>
  </channel>
</rss>

