<?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 howa  to get varibales of  completed instances using activiti-rest and j2ee in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21849#M9579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 16px;"&gt;Hello i work with j2ee and activiti-rest i create this function to get the list of variables of a process intsance, the function returns all information to me but I want to have that the list of variables I do not need any other information how I can access the variable information that is between hook ,i want to have informations in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN lang="en" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;bold&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 16px;"&gt;this is the code :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;public List&amp;lt;HistoricVariableInstance&amp;gt; ListVariableOfCompletedInstance() throws JSONException, IOException {&lt;BR /&gt;JSONArray VariablesArray = ProcessController.getService("/history/historic-variable-instances?processInstanceId="+idInstance);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;try {&lt;BR /&gt;Gson gson = new Gson();&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;List&amp;lt;HistoricVariableInstance&amp;gt; listVariableOfinsatance = gson.fromJson(VariablesArray.toString(), List.class);&lt;BR /&gt;System.out.println(listVariableOfinsatance.size());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System.out.println("la liste des variables:" +listVariableOfinsatance);&lt;BR /&gt;return listVariableOfinsatance;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;BR /&gt;} catch (Exception e) {&lt;BR /&gt;}&lt;BR /&gt;return null;&lt;BR /&gt;}&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;the response :&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;{&lt;BR /&gt;"data": [&lt;BR /&gt;{&lt;BR /&gt;"id": "40406",&lt;BR /&gt;"processInstanceId": "40398",&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;"processInstanceUrl": "&lt;/SPAN&gt;&lt;A class="" href="http://10.6.99.57:8888/activiti-rest/service/history/historic-process-instances/40398" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://10.6.99.57:8888/activiti-rest/service/history/historic-process-instances/40398&lt;/A&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;",&lt;/SPAN&gt;&lt;BR /&gt;"taskId": null,&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"variable": {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"name": "nbj",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"type": "string",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"value": "3",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"scope": null&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;}&lt;/STRONG&gt;&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"id": "40408",&lt;BR /&gt;"processInstanceId": "40398",&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;"processInstanceUrl": "&lt;/SPAN&gt;&lt;A class="" href="http://10.6.99.57:8888/activiti-rest/service/history/historic-process-instances/40398" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://10.6.99.57:8888/activiti-rest/service/history/historic-process-instances/40398&lt;/A&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;",&lt;/SPAN&gt;&lt;BR /&gt;"taskId": null,&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"variable": {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"name": "nom",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"type": "string",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"value": "yasmine",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"scope": null&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;}&lt;/STRONG&gt;&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"id": "40404",&lt;BR /&gt;"processInstanceId": "40398",&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;"processInstanceUrl": "&lt;/SPAN&gt;&lt;A class="" href="http://10.6.99.57:8888/activiti-rest/service/history/historic-process-instances/40398" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://10.6.99.57:8888/activiti-rest/service/history/historic-process-instances/40398&lt;/A&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;",&lt;/SPAN&gt;&lt;BR /&gt;"taskId": null,&lt;BR /&gt;"&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;variable": {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"name": "reponse",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"type": "string",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"value": "1",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;"scope": null&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 14px;"&gt;}&lt;/STRONG&gt;&lt;BR /&gt;}&lt;BR /&gt;],&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2018 13:08:45 GMT</pubDate>
    <dc:creator>mobarkiyasmine</dc:creator>
    <dc:date>2018-06-26T13:08:45Z</dc:date>
    <item>
      <title>howa  to get varibales of  completed instances using activiti-rest and j2ee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21849#M9579</link>
      <description>Hello i work with j2ee and activiti-rest i create this function to get the list of variables of a process intsance, the function returns all information to me but I want to have that the list of variables I do not need any other information how I can access the variable information that is between h</description>
      <pubDate>Tue, 26 Jun 2018 13:08:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21849#M9579</guid>
      <dc:creator>mobarkiyasmine</dc:creator>
      <dc:date>2018-06-26T13:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: howa  to get varibales of  completed instances using activiti-rest and j2ee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21850#M9580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variables of completed process instances&amp;nbsp;get deleted automatically. I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 12:42:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21850#M9580</guid>
      <dc:creator>savo</dc:creator>
      <dc:date>2018-06-27T12:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: howa  to get varibales of  completed instances using activiti-rest and j2ee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21851#M9581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="" data-fulltext="" data-placeholder="Traduction" dir="ltr" style="color: #212121; background-color: #ffffff; border: none; font-size: 16px !important; padding: 0px 0.14em 0px 0px;"&gt;&lt;SPAN lang="en"&gt;no they are saved in the history table,&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 12:49:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21851#M9581</guid>
      <dc:creator>mobarkiyasmine</dc:creator>
      <dc:date>2018-06-27T12:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: howa  to get varibales of  completed instances using activiti-rest and j2ee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21852#M9582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the api to get the variables of processes, you are able to do so only for unfinished ones. If a process is finished it would say something like "process not found".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That's why I think they get deleted. But I could be wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 12:55:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21852#M9582</guid>
      <dc:creator>savo</dc:creator>
      <dc:date>2018-06-27T12:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: howa  to get varibales of  completed instances using activiti-rest and j2ee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21853#M9583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 29px;"&gt;I used this uri and he gave me what I was looking for&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #727174; font-size: 29px;"&gt;/history/historic-variable-instances?processInstanceId="+idInstance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 12:59:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21853#M9583</guid>
      <dc:creator>mobarkiyasmine</dc:creator>
      <dc:date>2018-06-27T12:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: howa  to get varibales of  completed instances using activiti-rest and j2ee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21854#M9584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 29px;"&gt;I used this uri and he gave me what I was looking for&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #727174; font-size: 29px;"&gt;history/historic-variable-instances?processInstanceId="+idInstance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 13:02:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21854#M9584</guid>
      <dc:creator>mobarkiyasmine</dc:creator>
      <dc:date>2018-06-27T13:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: howa  to get varibales of  completed instances using activiti-rest and j2ee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21855#M9585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 13:04:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/howa-to-get-varibales-of-completed-instances-using-activiti-rest/m-p/21855#M9585</guid>
      <dc:creator>savo</dc:creator>
      <dc:date>2018-06-27T13:04:27Z</dc:date>
    </item>
  </channel>
</rss>

