<?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 Updating Task Variables in bulk through REST API? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/updating-task-variables-in-bulk-through-rest-api/m-p/193712#M146842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Through the REST API I can create task variables in bulk, but it appears updating task variables in bulk is not supported using a put/patch to /runtime/tasks/{id}/variables.&amp;nbsp; If you wanted to update variables you have to do it for a single variable instance.&amp;nbsp; I just wanted to confirm that there is not a "undocumented" capability to perform task variable updates in bulk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have thought about the option of using the delete all Task Variables… and then posting them all back… which reduces increases our overall performance because we are only making to calls to the REST API.&amp;nbsp; That works, but does have a few negative consequences in my mind such as creating a (small) window where a user task search could return zero results because it happened within the time of the delete all/create transaction… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone else have any ideas on how we could avoid iterating over the variables for a single task an performing singular task variable update operations…&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jordan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2014 15:41:37 GMT</pubDate>
    <dc:creator>jordan_blair</dc:creator>
    <dc:date>2014-06-16T15:41:37Z</dc:date>
    <item>
      <title>Updating Task Variables in bulk through REST API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-task-variables-in-bulk-through-rest-api/m-p/193712#M146842</link>
      <description>Through the REST API I can create task variables in bulk, but it appears updating task variables in bulk is not supported using a put/patch to /runtime/tasks/{id}/variables.&amp;nbsp; If you wanted to update variables you have to do it for a single variable instance.&amp;nbsp; I just wanted to confirm that there is n</description>
      <pubDate>Mon, 16 Jun 2014 15:41:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-task-variables-in-bulk-through-rest-api/m-p/193712#M146842</guid>
      <dc:creator>jordan_blair</dc:creator>
      <dc:date>2014-06-16T15:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Task Variables in bulk through REST API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-task-variables-in-bulk-through-rest-api/m-p/193713#M146843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, the PUT seems to only take one variable at the time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, looking at the code … a POST again with the updated variables might actually do an update behind the scenes!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you try that (havent verified it - so sorry if it's not working)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 12:21:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-task-variables-in-bulk-through-rest-api/m-p/193713#M146843</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-27T12:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Task Variables in bulk through REST API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-task-variables-in-bulk-through-rest-api/m-p/193714#M146844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the response.&amp;nbsp; I feel like i did try to do a PUT… but it didn't work..&amp;nbsp; I will try again to make sure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 12:36:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-task-variables-in-bulk-through-rest-api/m-p/193714#M146844</guid>
      <dc:creator>jordan_blair</dc:creator>
      <dc:date>2014-06-27T12:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Task Variables in bulk through REST API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-task-variables-in-bulk-through-rest-api/m-p/193715#M146845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jordan, were you able to update the task variables in bulk.&amp;nbsp; If so, could you please let me know the REST call to make.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 12:13:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-task-variables-in-bulk-through-rest-api/m-p/193715#M146845</guid>
      <dc:creator>anjan</dc:creator>
      <dc:date>2015-04-29T12:13:05Z</dc:date>
    </item>
  </channel>
</rss>

