<?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 Query on variable scope in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/query-on-variable-scope/m-p/4975#M2371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My workflow has 50 constant data values rather create these variables for each instance, Is there a way to define them as constants at process definition level or so? So those will be used by process instances under that process definition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2017 14:45:06 GMT</pubDate>
    <dc:creator>swamy2156</dc:creator>
    <dc:date>2017-02-07T14:45:06Z</dc:date>
    <item>
      <title>Query on variable scope</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/query-on-variable-scope/m-p/4975#M2371</link>
      <description>My workflow has 50 constant data values rather create these variables for each instance, Is there a way to define them as constants at process definition level or so? So those will be used by process instances under that process definition.</description>
      <pubDate>Tue, 07 Feb 2017 14:45:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/query-on-variable-scope/m-p/4975#M2371</guid>
      <dc:creator>swamy2156</dc:creator>
      <dc:date>2017-02-07T14:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Query on variable scope</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/query-on-variable-scope/m-p/4976#M2372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you give more info on where you want to access the constants from? If you are utilising them from inside a service task then you could put them in your Java class. You can also add custom beans to resolve values in your BPMN at runtime from &lt;A href="https://www.activiti.org/userguide/index.html#apiExpressions" rel="nofollow noopener noreferrer"&gt;expressions&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note Activiti Enterprise has Data Models that allow you to store constants inside a related DB table, but you will not have that if you are using the Community engine. See this&lt;A _jive_internal="true" href="https://community.alfresco.com/community/bpm/blog/2016/11/17/activiti-enterprise-developer-series-custom-data-models" rel="nofollow noopener noreferrer"&gt; blog post&lt;/A&gt; for more info on this feature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 17:41:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/query-on-variable-scope/m-p/4976#M2372</guid>
      <dc:creator>wabson</dc:creator>
      <dc:date>2017-02-07T17:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Query on variable scope</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/query-on-variable-scope/m-p/4977#M2373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way I handle things like this i to create a properties file in my deployment bar file.&lt;/P&gt;&lt;P&gt;You can then reference this as a "resources" associated with the specific deployment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Activiti Enterprise (and Activiti 6) it is a little more difficult as Proces App's don't allow for ad hoc files to be added to the App.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to add a classpath resource but this will have a different lifecycle to the process app and could be problematic if the contained data is unique per process (as is often the case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;bp3‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 17:30:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/query-on-variable-scope/m-p/4977#M2373</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-02-08T17:30:10Z</dc:date>
    </item>
  </channel>
</rss>

