<?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 /RI/rti/tasks/{id} method DELETE changes attachment name in &amp;quot;path&amp;quot; in Contact Pro</title>
    <link>https://community.sinch.com/t5/Contact-Pro/RI-rti-tasks-id-method-DELETE-changes-attachment-name-in-quot/m-p/8511#M202</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'd like to know if this is intentional. The thing is, if you have a task with an attachment with the status "Handled" and use DELETE method on that task, it changes the file name in the key "path" of the attachment. At first it is the ID of the attachment which is the ID of the task.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;At first the info is like this:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"attachments":&amp;nbsp; {"Attachment": [ {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"id": "268A0AFC9632EC11912D005056925E40",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"path": "2021\\10\\21\\268A0AFC9632EC11912D005056925E40.pdf"}]}&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After you use DELETE on that task, it looks like this:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"attachments":&amp;nbsp; {"Attachment": [ {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"id": "268A0AFC9632EC11912D005056925E40",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"path": "2021\\10\\21\\707013AAE7E24216A45F64005A4C09DC.pdf"}]}&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Overall it renames the attachment file where the system is saving them.&lt;/P&gt;
&lt;P&gt;Thing is that we use the absolute path of these attachments and once the tasks are deleted, the file name in the path changes and the attachments are gone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Alder&lt;/P&gt;</description>
    <pubDate>Wed, 08 Dec 2021 16:20:19 GMT</pubDate>
    <dc:creator>aldets</dc:creator>
    <dc:date>2021-12-08T16:20:19Z</dc:date>
    <item>
      <title>/RI/rti/tasks/{id} method DELETE changes attachment name in "path"</title>
      <link>https://community.sinch.com/t5/Contact-Pro/RI-rti-tasks-id-method-DELETE-changes-attachment-name-in-quot/m-p/8511#M202</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'd like to know if this is intentional. The thing is, if you have a task with an attachment with the status "Handled" and use DELETE method on that task, it changes the file name in the key "path" of the attachment. At first it is the ID of the attachment which is the ID of the task.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;At first the info is like this:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"attachments":&amp;nbsp; {"Attachment": [ {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"id": "268A0AFC9632EC11912D005056925E40",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"path": "2021\\10\\21\\268A0AFC9632EC11912D005056925E40.pdf"}]}&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After you use DELETE on that task, it looks like this:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"attachments":&amp;nbsp; {"Attachment": [ {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"id": "268A0AFC9632EC11912D005056925E40",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"path": "2021\\10\\21\\707013AAE7E24216A45F64005A4C09DC.pdf"}]}&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Overall it renames the attachment file where the system is saving them.&lt;/P&gt;
&lt;P&gt;Thing is that we use the absolute path of these attachments and once the tasks are deleted, the file name in the path changes and the attachments are gone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Alder&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 16:20:19 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Contact-Pro/RI-rti-tasks-id-method-DELETE-changes-attachment-name-in-quot/m-p/8511#M202</guid>
      <dc:creator>aldets</dc:creator>
      <dc:date>2021-12-08T16:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: /RI/rti/tasks/{id} method DELETE changes attachment name in "path"</title>
      <link>https://community.sinch.com/t5/Contact-Pro/RI-rti-tasks-id-method-DELETE-changes-attachment-name-in-quot/m-p/8523#M203</link>
      <description>&lt;P&gt;Would say that support ticket is the correct place to answer this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;//Jukka&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 09:12:17 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Contact-Pro/RI-rti-tasks-id-method-DELETE-changes-attachment-name-in-quot/m-p/8523#M203</guid>
      <dc:creator>Jukka</dc:creator>
      <dc:date>2021-10-22T09:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: /RI/rti/tasks/{id} method DELETE changes attachment name in "path"</title>
      <link>https://community.sinch.com/t5/Contact-Pro/RI-rti-tasks-id-method-DELETE-changes-attachment-name-in-quot/m-p/8526#M204</link>
      <description>&lt;P&gt;Thanks Jukka,&lt;/P&gt;&lt;P&gt;I was just wondering if this kind of behaviour is intentional.&lt;/P&gt;&lt;P&gt;I'll go make a ticket then. Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Alder&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 10:31:24 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Contact-Pro/RI-rti-tasks-id-method-DELETE-changes-attachment-name-in-quot/m-p/8526#M204</guid>
      <dc:creator>aldets</dc:creator>
      <dc:date>2021-10-22T10:31:24Z</dc:date>
    </item>
  </channel>
</rss>

