<?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 fetch process Definition all variables in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24223#M10562</link>
    <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/75193"&gt;@bassam_al-saror&lt;/A&gt;&amp;nbsp;please help me to find this. Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2019 06:01:38 GMT</pubDate>
    <dc:creator>amruta_w</dc:creator>
    <dc:date>2019-12-04T06:01:38Z</dc:date>
    <item>
      <title>how to fetch process Definition all variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24222#M10561</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I want to fetch all process Definition variables from process Definition Key !!&lt;/P&gt;&lt;P&gt;is there any documentation , API or Example please provide asap.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 12:50:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24222#M10561</guid>
      <dc:creator>amruta_w</dc:creator>
      <dc:date>2019-12-02T12:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch process Definition all variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24223#M10562</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/75193"&gt;@bassam_al-saror&lt;/A&gt;&amp;nbsp;please help me to find this. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 06:01:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24223#M10562</guid>
      <dc:creator>amruta_w</dc:creator>
      <dc:date>2019-12-04T06:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch process Definition all variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24224#M10563</link>
      <description>&lt;P&gt;you can only query varirables from a particular execution, create a&lt;A href="https://www.activiti.org/javadocs/6.latest/org/activiti/engine/runtimeservice#createNativeExecutionQuery()" target="_self" rel="nofollow noopener noreferrer"&gt; native query&lt;/A&gt; instead of using the Java API&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 14:43:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24224#M10563</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2019-12-04T14:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch process Definition all variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24225#M10564</link>
      <description>&lt;P&gt;I am trying to get the process definition variables before creating the process instance, if you have worked like this scenario or any idea to get variables kindly help me out. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 06:53:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24225#M10564</guid>
      <dc:creator>amruta_w</dc:creator>
      <dc:date>2020-01-09T06:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch process Definition all variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24226#M10565</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16524"&gt;@abbask01&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have tried the following way to get variables from &lt;STRONG&gt;form&lt;/STRONG&gt; &lt;STRONG&gt;table&lt;/STRONG&gt; but i'm unable to get the variables, kindly help me out if have any idea&lt;/P&gt;&lt;PRE&gt;List&amp;lt;Execution&amp;gt; variables = runtimeService.createNativeExecutionQuery().sql("select _FORM.*" +
		        "  from  form _FORM" +
		        " where app_definition_id ="+appDefinitionId+" and name like '%closed edit readonly%'").list();
		List&amp;lt;Map&amp;lt;String, Object&amp;gt;&amp;gt; customTaskList = new ArrayList&amp;lt;&amp;gt;();
	    for (Execution vars : variables) {
	        Map&amp;lt;String, Object&amp;gt; map = new LinkedHashMap&amp;lt;&amp;gt;();
	        map.put("variableId", vars.getId());
	        map.put("variableName", vars.getName());
	        map.put("variableDescription", vars.getDescription());
	        customTaskList.add(map);
	    }
	    System.out.println("printing list");
	    customTaskList.forEach(System.out::println); &lt;/PRE&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Amruta Wandakar&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 09:25:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-fetch-process-definition-all-variables/m-p/24226#M10565</guid>
      <dc:creator>amruta_w</dc:creator>
      <dc:date>2020-01-10T09:25:15Z</dc:date>
    </item>
  </channel>
</rss>

