<?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: Transform and Filter Json data in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/859#M431</link>
    <description>&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;Could you please provide the complete solution.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Apr 2021 23:13:46 GMT</pubDate>
    <dc:creator>bala-s</dc:creator>
    <dc:date>2021-04-26T23:13:46Z</dc:date>
    <item>
      <title>Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/855#M427</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am having below payload as input and in the output im expecting only the Sales data of (Target &amp;gt;= 20)&lt;/P&gt;&lt;P&gt;Input Payload:&lt;/P&gt;&lt;P&gt;===========&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"EmployeeDetails": [{&lt;/P&gt;&lt;P&gt;"EmpID": 123,&lt;/P&gt;&lt;P&gt;"Records": [{&lt;/P&gt;&lt;P&gt;"id": "S1",&lt;/P&gt;&lt;P&gt;"Department": "Sales",&lt;/P&gt;&lt;P&gt;"Target": "20"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"id": "S3",&lt;/P&gt;&lt;P&gt;"Department": "Sales",&lt;/P&gt;&lt;P&gt;"Target": "20"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"id": "S4",&lt;/P&gt;&lt;P&gt;"Department": "Sales",&lt;/P&gt;&lt;P&gt;"Target": "10"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"id": "L1",&lt;/P&gt;&lt;P&gt;"Department": "Leaves",&lt;/P&gt;&lt;P&gt;"Targets": "1"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"EmpID": 124,&lt;/P&gt;&lt;P&gt;"Records": [{&lt;/P&gt;&lt;P&gt;"id": "S2",&lt;/P&gt;&lt;P&gt;"Department": "Sales",&lt;/P&gt;&lt;P&gt;"Target": "25"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"id": "L1",&lt;/P&gt;&lt;P&gt;"Department": "Leaves",&lt;/P&gt;&lt;P&gt;"Targets": "3"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Expected Output: ("Records.Department == Sales" &amp;amp;&amp;amp; "Records.Target &amp;gt;= 20")&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"EmployeeDetails": [{&lt;/P&gt;&lt;P&gt;"EmpID": 123,&lt;/P&gt;&lt;P&gt;"Records": [{&lt;/P&gt;&lt;P&gt;"id": "S1",&lt;/P&gt;&lt;P&gt;"Department": "Sales",&lt;/P&gt;&lt;P&gt;"Target": "20"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"id": "S3",&lt;/P&gt;&lt;P&gt;"Department": "Sales",&lt;/P&gt;&lt;P&gt;"Target": "20"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"id": "S4",&lt;/P&gt;&lt;P&gt;"Department": "Sales",&lt;/P&gt;&lt;P&gt;"Target": "10"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"EmpID": 124,&lt;/P&gt;&lt;P&gt;"Records": [{&lt;/P&gt;&lt;P&gt;"id": "S2",&lt;/P&gt;&lt;P&gt;"Department": "Sales",&lt;/P&gt;&lt;P&gt;"Target": "25"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Recipe: https://app.workato.com/recipes/1521392?st=5d5a86&lt;/P&gt;&lt;P&gt;Is anyone gone through similar kind of use case. please provide your solutions on this.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Apr 2021 22:14:19 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/855#M427</guid>
      <dc:creator>bala-s</dc:creator>
      <dc:date>2021-04-26T22:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/856#M428</link>
      <description>&lt;P&gt;Hi, you can create a collection off your input and write a simple select query to extract the data. its pretty simple setup. You can find all the info about creating and querying in collection &lt;A href="https://docs.workato.com/features/collection.html" target="_blank" rel="noreferrer noopener"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 22:35:20 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/856#M428</guid>
      <dc:creator>deepak23shastri</dc:creator>
      <dc:date>2021-04-26T22:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/857#M429</link>
      <description>&lt;P&gt;Hi Bala, &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Can you try this logic this might help you.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Apr 2021 22:50:02 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/857#M429</guid>
      <dc:creator>vijay-narsimha</dc:creator>
      <dc:date>2021-04-26T22:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/858#M430</link>
      <description>&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks for your response, as the payload having nested elements. &lt;/P&gt;&lt;P&gt;if we create a collection on EmployeeDetails, we store only array of EmpID &lt;/P&gt;&lt;P&gt;Similary for Records, we store only record data&lt;/P&gt;&lt;P&gt;Here the relation is missing.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Otherwise we can directly go for for each and achieve this&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 23:12:28 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/858#M430</guid>
      <dc:creator>bala-s</dc:creator>
      <dc:date>2021-04-26T23:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/859#M431</link>
      <description>&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;Could you please provide the complete solution.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 23:13:46 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/859#M431</guid>
      <dc:creator>bala-s</dc:creator>
      <dc:date>2021-04-26T23:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/860#M432</link>
      <description>&lt;P&gt;Hi Bala, Can you share the common data model as well. I will share the complete recipe link &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Apr 2021 23:24:19 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/860#M432</guid>
      <dc:creator>vijay-narsimha</dc:creator>
      <dc:date>2021-04-26T23:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/861#M433</link>
      <description>&lt;P&gt;you can generate with payload data&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 23:26:00 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/861#M433</guid>
      <dc:creator>bala-s</dc:creator>
      <dc:date>2021-04-26T23:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/862#M434</link>
      <description>&lt;P&gt;Please find the link with the complete solution below &lt;/P&gt;&lt;P&gt;https://app.workato.com/recipes/1521543?st=a927cd&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 00:28:34 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/862#M434</guid>
      <dc:creator>vijay-narsimha</dc:creator>
      <dc:date>2021-04-27T00:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/863#M435</link>
      <description>&lt;P&gt;Thanks for your solution. Its working&lt;/P&gt;&lt;P&gt;Just made a change in this (removed step7 (For-each))&lt;/P&gt;&lt;P&gt;https://app.workato.com/recipes/1521682?st=8482cd&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 00:44:16 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/863#M435</guid>
      <dc:creator>bala-s</dc:creator>
      <dc:date>2021-04-27T00:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/864#M436</link>
      <description>&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Send the request jeson to a callable recipe.&lt;/P&gt;&lt;P&gt;Make manipulation with collection on the data and return the response.&lt;/P&gt;&lt;P&gt;Recipes working with jeson object so you will get back json from the recipe. &lt;/P&gt;&lt;P&gt;Build the request and the response in the same structure as your json.&lt;/P&gt;&lt;P&gt;good luck,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 12:06:51 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/864#M436</guid>
      <dc:creator>dianaa</dc:creator>
      <dc:date>2021-04-27T12:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Transform and Filter Json data</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/865#M437</link>
      <description>&lt;P&gt;Solution with RubyScript:&lt;/P&gt;&lt;P&gt;https://app.workato.com/recipes/1521392?st=5d5a86&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 17:38:16 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/transform-and-filter-json-data/m-p/865#M437</guid>
      <dc:creator>bala-s</dc:creator>
      <dc:date>2021-04-27T17:38:16Z</dc:date>
    </item>
  </channel>
</rss>

