<?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: I can't add variables to a task throw rest-api in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17656#M7822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh, you are right.&lt;/P&gt;&lt;P&gt;I didn't config this&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;parameters for query/task .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;It works with this request:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;{ "includeTaskLocalVariables":true }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;thanks for your help again.This is very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2018 04:37:31 GMT</pubDate>
    <dc:creator>darkwind</dc:creator>
    <dc:date>2018-03-23T04:37:31Z</dc:date>
    <item>
      <title>I can't add variables to a task throw rest-api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17651#M7817</link>
      <description>Hi everyone,&amp;nbsp;&amp;nbsp;I can't add variables to a task throw rest-api. May be i understand the document with mistakesmy activiti version:activiti-6.0.0 from&amp;nbsp;Download Now | Activiti.org&amp;nbsp;1. why do this?I want to add a&amp;nbsp;variables to a task, then i can query it by this&amp;nbsp;variables value.2. replayI) create a task&amp;nbsp;II</description>
      <pubDate>Tue, 20 Mar 2018 10:09:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17651#M7817</guid>
      <dc:creator>darkwind</dc:creator>
      <dc:date>2018-03-20T10:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: I can't add variables to a task throw rest-api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17652#M7818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect that when the REST API calls the engine API for that service/query/tasks request it does so using a query on tasks rather than tasks with variables. It probably does this because retrieving the variables too is a more complex query that returns more data and in some cases quite a lot of data (since you might have a lot of variables). But perhaps for your case you do want the variables too? I'm not sure if that's what you want or if you're looking for a custom endpoint that tells you tasks that have a task variable of a particular value. If so maybe another approach would be to query for the variable first and then use that result to find the task? I'm not entirely sure whether there is an endpoint that lets you do what you're looking for. Which version of Activiti or Alfresco Process Services are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 13:43:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17652#M7818</guid>
      <dc:creator>ryandawson</dc:creator>
      <dc:date>2018-03-20T13:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: I can't add variables to a task throw rest-api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17653#M7819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your prompt reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;My activiti version is activiti-6.0.0 and I used activiti-rest.Yeah,we can search a&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;variable to get a&amp;nbsp; task id. Then ,use this id to query task.But I care that both document and swagger-UI show me the option about “taskVariables”:&lt;A class="link-titled" href="https://www.activiti.org/userguide/index.html#_query_for_tasks" title="https://www.activiti.org/userguide/index.html#_query_for_tasks" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;. I believe that rest-api support it and i want to use this&amp;nbsp;&lt;SPAN&gt;option&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 02:38:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17653#M7819</guid>
      <dc:creator>darkwind</dc:creator>
      <dc:date>2018-03-21T02:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: I can't add variables to a task throw rest-api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17654#M7820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are right. I am not immediately sure where to check though. Maybe some searches/digging in the v6 code base for those rest end points or some strings that appear in the swagger&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Activiti/Activiti/tree/6.x?files=1" title="https://github.com/Activiti/Activiti/tree/6.x?files=1" rel="nofollow noopener noreferrer"&gt;Activiti/ at 6.x · Activiti/Activiti · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 06:26:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17654#M7820</guid>
      <dc:creator>ryandawson</dc:creator>
      <dc:date>2018-03-21T06:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: I can't add variables to a task throw rest-api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17655#M7821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try&amp;nbsp;includeProcessVariables &amp;amp; includeTaskLocalVariables parameters&lt;SPAN style="background-color: #ffffff; color: #6d6e71; font-size: 16px;"&gt;?&amp;nbsp;&lt;/SPAN&gt;&lt;A class="link-titled" href="https://www.activiti.org/userguide/#restTasksGet" title="https://www.activiti.org/userguide/#restTasksGet" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 16:21:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17655#M7821</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-03-22T16:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: I can't add variables to a task throw rest-api</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17656#M7822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh, you are right.&lt;/P&gt;&lt;P&gt;I didn't config this&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;parameters for query/task .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;It works with this request:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;{ "includeTaskLocalVariables":true }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;thanks for your help again.This is very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 04:37:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/i-can-t-add-variables-to-a-task-throw-rest-api/m-p/17656#M7822</guid>
      <dc:creator>darkwind</dc:creator>
      <dc:date>2018-03-23T04:37:31Z</dc:date>
    </item>
  </channel>
</rss>

