<?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: Issue while fetching data from catalog task table from SNOW using REST API in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90114#M40395</link>
    <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/24530"&gt;@MritunjayTiwar1&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;If you can also provide a screenshot of your WebAPI configuration in BP that will be helpful to find out what's the difference between the two. ​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 08 Nov 2022 05:50:00 GMT</pubDate>
    <dc:creator>shashank.kumar280</dc:creator>
    <dc:date>2022-11-08T05:50:00Z</dc:date>
    <item>
      <title>Issue while fetching data from catalog task table from SNOW using REST API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90113#M40394</link>
      <description>HI All, &lt;BR /&gt;&lt;BR /&gt;I am having an issue while integrating rest api with SNOW for table sc_task. &lt;BR /&gt;&lt;BR /&gt;below is the payload which I want to use/using - &lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-python"&gt;&lt;CODE&gt;headers = {
      "Accept": "application/json",
      "Content-Type": "application/json"
}

payloads = {
      "sysparm_limit": "1",
      "sysparm_exclude_reference_link": "true",
      "sysparm_display_value": "true",
      "sysparm_query":"active=true^assignment_groupLIKEIBM-AP-PDE CECC Sustainment-Aero^short_descriptionLIKEDeactivate^state=1",
      "sysparm_fields": """
      number,
      short_description, 
      request_item, 
      request_item.u_qs_requested_for.user_name, 
      request_item.u_qs_requested_for.name,  
      variables.Select_the_Business_Unit_eRoom_Community,
      variables.src_common_business_justification,
      variables.src_comments_details
      """
}
​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;above is in format of python but same is given in BP as well as you can see in below screenshot -&lt;/P&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29378.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29508i51783B21EBB03CF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="29378.png" alt="29378.png" /&gt;&lt;/span&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29379.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29511i4CB5E5DE0CD68315/image-size/large?v=v2&amp;amp;px=999" role="button" title="29379.png" alt="29379.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29380.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29513iF0AECF11C1C0FD3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="29380.png" alt="29380.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29381.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29512iB3C732DCBD96CF4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="29381.png" alt="29381.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;now if you notice I have setup
&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; line-height: 19px; white-space: pre;"&gt;
&lt;DIV&gt;&lt;SPAN style="color: #6a9955;"&gt;sysparm_limit&lt;/SPAN&gt; as 1 and
&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 14px; line-height: 19px; white-space: pre;"&gt;
&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt;sysparm_fields for some specific fields which includes variable fields as well. &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
and good part is my query is able to connect with table and fetch data and the bad part is it is fetching entire table for all rows and columns and not for the given query. &lt;BR /&gt;&lt;BR /&gt;in another words it is returning response with all the fields and not only those given in the payload. another issue is it is not returning the variable fields for example "variables.src_comments_details"&lt;BR /&gt;&lt;BR /&gt;please let me know if anyone can resolve this?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mritunjay Tiwari&lt;BR /&gt;------------------------------&lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Nov 2022 05:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90113#M40394</guid>
      <dc:creator>MritunjayTiwar1</dc:creator>
      <dc:date>2022-11-08T05:13:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issue while fetching data from catalog task table from SNOW using REST API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90114#M40395</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/24530"&gt;@MritunjayTiwar1&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;If you can also provide a screenshot of your WebAPI configuration in BP that will be helpful to find out what's the difference between the two. ​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Nov 2022 05:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90114#M40395</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2022-11-08T05:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issue while fetching data from catalog task table from SNOW using REST API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90115#M40396</link>
      <description>Hi Shashank, update as per your request. &lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mritunjay Tiwari&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Nov 2022 06:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90115#M40396</guid>
      <dc:creator>MritunjayTiwar1</dc:creator>
      <dc:date>2022-11-08T06:13:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issue while fetching data from catalog task table from SNOW using REST API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90116#M40397</link>
      <description>The BP WebAPI configuration has HTTP GET request with URL parameters but from your python code it looks like you are performing a HTTP POST request as there is a payload.&lt;BR /&gt;Is this a custom action that you have added because I could not find it on the WebAPI available on DX? If you are looking to make a HTTP POST request you will have to modify the WebAPI configuration accordingly.&lt;BR /&gt;&lt;BR /&gt;One other thing I noticed in the BP URL configuration is that the query parameter name is missing.&lt;BR /&gt;Generally it is of the format ?paramname1=paramvalue1&amp;amp;paramname2=paramvalue2...etc.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Nov 2022 07:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90116#M40397</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2022-11-08T07:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issue while fetching data from catalog task table from SNOW using REST API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90117#M40398</link>
      <description>Thank Shashank for bringing my notice to the url parameters - paramname1=paramvalue1&amp;amp;paramname2=paramvalue2...etc. &lt;BR /&gt;&lt;BR /&gt;this has resolved my issue. &lt;BR /&gt;&lt;BR /&gt;Thank you once again. &lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mritunjay Tiwari&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Nov 2022 12:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-while-fetching-data-from-catalog-task-table-from-SNOW/m-p/90117#M40398</guid>
      <dc:creator>MritunjayTiwar1</dc:creator>
      <dc:date>2022-11-08T12:59:00Z</dc:date>
    </item>
  </channel>
</rss>

