<?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: Deleting Sales Force Records Prior to insert in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225476#M17765</link>
    <description>Right, can you also share the schema for bot tSalesforceInput and Output components?&lt;BR /&gt;Also, does the tSalesforceInput select at least 1 record?</description>
    <pubDate>Thu, 25 May 2017 18:13:39 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-05-25T18:13:39Z</dc:date>
    <item>
      <title>Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225473#M17762</link>
      <description>&lt;P&gt;Hello! &amp;nbsp;I am relatively new to Talend. &amp;nbsp;I have successfully created a job that pulls filtered data from our AS400 and inserts into a custom Sales Force object in my Sandbox environment. &amp;nbsp;Now I need to create a step that deletes all records in the Sales Force custom object before the insert. &amp;nbsp;I was able to find several posts regarding this topic however none had solutions.&amp;nbsp;So far I have a tSalesforceOutput component with the Output Action = DELETE. &amp;nbsp;Next is a tLogRow component (so I have a list of the record Ids). &amp;nbsp;Then a tSalesforceInput component. &amp;nbsp; &amp;nbsp; I can execute the job without error but no records are deleted in Sales Force. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any assistance would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cjsigler&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225473#M17762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225474#M17763</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You must know Salesforce Id for&amp;nbsp;records you want to delete.&lt;/P&gt;&lt;P&gt;So, you need a tSalesforceInput to select these Id, then using tSalesforceOutput (or&amp;nbsp;&lt;SPAN&gt;tSalesforceOutput if lot of records) you can delete the selected records. Just be careful to have Id as the only field in the schema for both components.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the minimal job design for such a case:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tSalesforceInput --&amp;gt;&amp;nbsp;tSalesforceOutput&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share your job?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 18:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225474#M17763</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-25T18:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225475#M17764</link>
      <description>&lt;P&gt;So it sounds like I have my components backwards. &amp;nbsp;Not sure how to share the job so here is an image.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 603px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv8C.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135539i7CC5FF69439C3FEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv8C.png" alt="0683p000009Lv8C.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 18:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225475#M17764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-25T18:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225476#M17765</link>
      <description>Right, can you also share the schema for bot tSalesforceInput and Output components?&lt;BR /&gt;Also, does the tSalesforceInput select at least 1 record?</description>
      <pubDate>Thu, 25 May 2017 18:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225476#M17765</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-25T18:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225477#M17766</link>
      <description>&lt;P&gt;Like this?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuVB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137622iA9629C646BE19675/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuVB.png" alt="0683p000009LuVB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 18:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225477#M17766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-25T18:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225478#M17767</link>
      <description>&lt;P&gt;That worked!! &amp;nbsp;I had my components backwards! &amp;nbsp;Thanks so much!!&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 18:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225478#M17767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-25T18:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225479#M17768</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled3.png" style="width: 784px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv8R.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133407i14797AF7747F1665/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv8R.png" alt="0683p000009Lv8R.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 18:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225479#M17768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-25T18:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225480#M17769</link>
      <description>&lt;P&gt;That's what I was going to tell you.&lt;/P&gt;&lt;P&gt;For best practice allways design your jobs from left to right and top to down.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 18:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225480#M17769</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-25T18:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225481#M17770</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;cjsigler, I'm trying to create a Delete job like yours, but not sure what&amp;nbsp; I'm doing wrong?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;&lt;SPAN class=""&gt;I created a setup like yours:&lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.GIF" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsaE.gif"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158085iD9FB5E8CFE789058/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsaE.gif" alt="0683p000009LsaE.gif" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;SPAN class=""&gt;When I click run, I get the following error:&lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="run_error.GIF" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LslS.gif"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147810iF2BA9498FAEDFF91/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LslS.gif" alt="0683p000009LslS.gif" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;SPAN class=""&gt;Am I missing something here? Do I need to use the tMap component too?&lt;/SPAN&gt;&lt;/LI&gt; 
&lt;/UL&gt;</description>
      <pubDate>Fri, 02 Feb 2018 20:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225481#M17770</guid>
      <dc:creator>jlig</dc:creator>
      <dc:date>2018-02-02T20:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225482#M17771</link>
      <description>&lt;P&gt;My insert query/job works fine which uploads data from MySQL to my custom Salesforce object (see below):&lt;/P&gt; 
&lt;P&gt;- But how do I combine/add in the Delete option?&lt;/P&gt; 
&lt;P&gt;- I need to alter my job below to first do the Delete&lt;/P&gt; 
&lt;P&gt;- Then complete the Insert job&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="upload_mbs_to_salesforce.GIF" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsWd.gif"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148002iEFC602F141DAB5F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsWd.gif" alt="0683p000009LsWd.gif" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 20:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225482#M17771</guid>
      <dc:creator>jlig</dc:creator>
      <dc:date>2018-02-02T20:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225483#M17772</link>
      <description>You need to use a tSalesforceInput component to select the id for the records you want to delete.&lt;BR /&gt;Then connect it to a tSalesforceOutput with DELETE operation selected.</description>
      <pubDate>Fri, 02 Feb 2018 21:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225483#M17772</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-02T21:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225484#M17773</link>
      <description>&lt;P&gt;As I'm still learning Talend,&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;How do I select the ID&amp;nbsp;&lt;SPAN&gt;for the records to delete?&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;SPAN&gt;How do I combine this "Delete job" to my working "Insert job" above?&lt;/SPAN&gt;&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;&lt;SPAN&gt;Here is what I have so far:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="delete_mbs.GIF" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LstA.gif"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151565iF6F5F9D346EF92F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LstA.gif" alt="0683p000009LstA.gif" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 22:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225484#M17773</guid>
      <dc:creator>jlig</dc:creator>
      <dc:date>2018-02-02T22:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225485#M17774</link>
      <description>&lt;P&gt;Ok, it looks like the Delete is running fine &amp;amp; deleted all of the MBS records in the custom object! Thanks for the help with that part!&lt;/P&gt;
&lt;P&gt;- Now just one last question.. How do I add this "Delete Job" to my "Insert Job"?&lt;/P&gt;
&lt;P&gt;- I need the delete to run first, then after the custom object is empty, run the Insert.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 22:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225485#M17774</guid>
      <dc:creator>jlig</dc:creator>
      <dc:date>2018-02-02T22:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225486#M17775</link>
      <description>Just connect the tSalesforceInput component of the "delete" subjob with the 1rst component of the "insert" subjob using an onSubjobOk trigger.
&lt;BR /&gt;Also don't forget to kudo the posts that help you. Much more better, open new posts for your questions.</description>
      <pubDate>Sat, 03 Feb 2018 09:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225486#M17775</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-03T09:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225487#M17776</link>
      <description>&lt;P&gt;Sounds like your problem is solved.&lt;/P&gt;&lt;P&gt;Thank's to close the topic.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 14:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225487#M17776</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-05T14:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Sales Force Records Prior to insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225488#M17777</link>
      <description>&lt;P&gt;TRF, thanks again for the help.. this is an amazing tool when working between MySQL &amp;amp; Salesforce.&lt;/P&gt; 
&lt;P&gt;Here is my completed "DELETE then INSERT" job:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="delete_insert_mbs_to_salesforce.GIF" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsvp.gif"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154399i33EA0A8B24354D4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsvp.gif" alt="0683p000009Lsvp.gif" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 14:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Deleting-Sales-Force-Records-Prior-to-insert/m-p/2225488#M17777</guid>
      <dc:creator>jlig</dc:creator>
      <dc:date>2018-02-05T14:34:02Z</dc:date>
    </item>
  </channel>
</rss>

