<?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: Delete items from Sharepoint list in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1781#M714</link>
    <description>&lt;P&gt;Got it Sophat, thanks.&lt;/P&gt;&lt;P&gt;I really need to get into Workato more.&lt;/P&gt;&lt;P&gt;In the do untill loop you just drag the datapil from the previous step....&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;It's working now!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;What I want to do is undex the ID column where I store the Autodesk Issue ID's.&lt;/P&gt;&lt;P&gt;Then create  a list item.&lt;/P&gt;&lt;P&gt;If that fails (the record already exists), then update that record.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;This will prevent having to search the list if a record exists.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 15:14:58 GMT</pubDate>
    <dc:creator>roland-daane</dc:creator>
    <dc:date>2021-11-05T15:14:58Z</dc:date>
    <item>
      <title>Delete items from Sharepoint list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1775#M708</link>
      <description>&lt;P&gt;Hi, I'm trying to delete all items from a SharePoint list, but keep getting this error:&lt;/P&gt;&lt;P&gt;412 Precondition Failed: {"odata.error":{"code":"-1, Microsoft.SharePoint.Client.ClientServiceException","message":{"lang":"en-US","value":"The request ETag value '' does not match the object's ETag value '\"d83ffc2b-6c9f-4db1-b0b1-1c1bfcfd4c16,1\"'."}}}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I found thet the headers needed to include:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X-HTTP-Method: Merge&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If-Match: &lt;EM&gt;&lt;STRONG&gt;ETag &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I first call:&lt;/P&gt;&lt;P&gt;_api/web/lists/getByTitle('B360__Issues')/items&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Then in a loop&lt;/P&gt;&lt;P&gt;_api/Web/Lists/getByTitle('B360__Issues')/getItemById(ID from step 2)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 21:55:14 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1775#M708</guid>
      <dc:creator>roland-daane</dc:creator>
      <dc:date>2021-11-04T21:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Delete items from Sharepoint list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1776#M709</link>
      <description>&lt;P&gt;I got the 2 headers in, but still getting the same error.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Nov 2021 23:32:35 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1776#M709</guid>
      <dc:creator>roland-daane</dc:creator>
      <dc:date>2021-11-04T23:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Delete items from Sharepoint list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1777#M710</link>
      <description>&lt;P&gt;hi &lt;A href="https://systematic.workato.com/workato-migration/users/2565195"&gt;Roland Daane&lt;/A&gt; ! here's an example call that worked for me with the headers called out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Nov 2021 23:38:17 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1777#M710</guid>
      <dc:creator>sophat-sam</dc:creator>
      <dc:date>2021-11-04T23:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Delete items from Sharepoint list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1778#M711</link>
      <description>&lt;P&gt;here's the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; step itself with the data  outputs from the loop:&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 23:39:40 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1778#M711</guid>
      <dc:creator>sophat-sam</dc:creator>
      <dc:date>2021-11-04T23:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Delete items from Sharepoint list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1779#M712</link>
      <description>&lt;P&gt;here's the example recipe: https://app.workato.com/recipes/1833010?st=3f1613&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 23:43:02 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1779#M712</guid>
      <dc:creator>sophat-sam</dc:creator>
      <dc:date>2021-11-04T23:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Delete items from Sharepoint list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1780#M713</link>
      <description>&lt;P&gt;Hi Sophat,&lt;/P&gt;&lt;P&gt;It runs now without errors.&lt;/P&gt;&lt;P&gt;For some reason the foreach loop just picksup 1 item whilt the Json output for step 2 contains a couple of hundred items.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;It does delete that 1 record.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Oh and by the way: had a great discussion with our NL business and they're opening up to using Workato to connect with autodesk Construction Cloud....&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Nov 2021 03:15:26 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1780#M713</guid>
      <dc:creator>roland-daane</dc:creator>
      <dc:date>2021-11-05T03:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Delete items from Sharepoint list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1781#M714</link>
      <description>&lt;P&gt;Got it Sophat, thanks.&lt;/P&gt;&lt;P&gt;I really need to get into Workato more.&lt;/P&gt;&lt;P&gt;In the do untill loop you just drag the datapil from the previous step....&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;It's working now!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;What I want to do is undex the ID column where I store the Autodesk Issue ID's.&lt;/P&gt;&lt;P&gt;Then create  a list item.&lt;/P&gt;&lt;P&gt;If that fails (the record already exists), then update that record.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;This will prevent having to search the list if a record exists.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 15:14:58 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/delete-items-from-sharepoint-list/m-p/1781#M714</guid>
      <dc:creator>roland-daane</dc:creator>
      <dc:date>2021-11-05T15:14:58Z</dc:date>
    </item>
  </channel>
</rss>

