<?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: Unable to create formula for length of list in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6301#M2766</link>
    <description>&lt;P&gt;Ah, now I see the "API Name"! And it is "Campaign__c". I made the change and followed your troubleshooting suggestions and it works for .pluck, .size and .length. I will use your "breaking down" technique again in the future I'm sure. Thanks once again, again for the help gary1 !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2024-03-26 at 7.28.01 PM.png" style="width: 341px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1092iAC21BA264169334B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2024-03-26 at 7.28.01 PM.png" alt="Screen Shot 2024-03-26 at 7.28.01 PM.png" /&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>Tue, 26 Mar 2024 23:42:11 GMT</pubDate>
    <dc:creator>JayMappus</dc:creator>
    <dc:date>2024-03-26T23:42:11Z</dc:date>
    <item>
      <title>Unable to create formula for length of list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6289#M2760</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to use the action step "Lists by Workato" but I'm having trouble populating the size of the list. I want the size to be a count of all unique "campaign" values. In a previous step in the recipe, a search result has a list datapill result like below (I'm showing just the first three results of many - showing 2 unique campaigns).&amp;nbsp; I was trying to use this formula&amp;nbsp; "(datapill).pluck("Campaign").uniq.length" to determine how many unique "Campaigns" there were as I would like the List to contain a list of unique campaigns. Can you tell me what I'm doing wrong?&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;Entities:&lt;BR /&gt;[&lt;BR /&gt;{&lt;BR /&gt;Campaign: Facebook California&lt;BR /&gt;City: Irvine,&lt;BR /&gt;},&lt;BR /&gt;(&lt;BR /&gt;Campaign: Facebook South Carolina,&lt;BR /&gt;City: Greenville,&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;(&lt;BR /&gt;Campaign: Facebook South Carolina,&lt;BR /&gt;City: Greenville,&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 18:38:41 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6289#M2760</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2024-03-26T18:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create formula for length of list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6291#M2761</link>
      <description>&lt;P&gt;Pluck is case sensitive, so hover over the data pill to see the "API name" to ensure you're using the right value in the formula.&lt;/P&gt;&lt;P&gt;I bet it's "campaign". Drives me nuts.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gary1_0-1711478634526.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1087i2F4FEA18EAA68B4D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="gary1_0-1711478634526.png" alt="gary1_0-1711478634526.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 18:46:23 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6291#M2761</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2024-03-26T18:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create formula for length of list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6295#M2762</link>
      <description>&lt;P&gt;Hi gary1 once again. I tried "campaign" and "Campaign" with no luck. Here is the actual data from the datapill that I am trying to use. I don't see anything labeled "API name".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2024-03-26 at 4.09.07 PM.png" style="width: 516px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1090i74CB48D12035B6A6/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2024-03-26 at 4.09.07 PM.png" alt="Screen Shot 2024-03-26 at 4.09.07 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 20:24:28 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6295#M2762</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2024-03-26T20:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create formula for length of list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6297#M2763</link>
      <description>&lt;P&gt;Here's some more information:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2024-03-26 at 4.26.20 PM.png" style="width: 534px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1091i14BB9D40376488CD/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2024-03-26 at 4.26.20 PM.png" alt="Screen Shot 2024-03-26 at 4.26.20 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 20:27:00 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6297#M2763</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2024-03-26T20:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create formula for length of list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6298#M2764</link>
      <description>&lt;P&gt;You need to hover over it in the recipe data section -- the little mini drawer that appears in the middle/bottom of edit mode.&lt;/P&gt;&lt;P&gt;Basically find the "campaign" data pill (as if you were going to add it to a logger or something) and hover over it to see the API name. (I'm excited to see the API name, haha)&lt;/P&gt;&lt;P&gt;Are you getting an error on the pluck step?&lt;/P&gt;&lt;P&gt;I suggest breaking down the formula down into loggers to see what's happening:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Make a logger with just the entities data pill to ensure it's passing correctly&lt;/LI&gt;&lt;LI&gt;Once that's confirmed, make a couple other loggers with entities.pluck("campaign") and entities.pluck("Campaign") to see if either return data&lt;/LI&gt;&lt;LI&gt;If either loggers in step 2 return data, then add .uniq to ensure that works&lt;/LI&gt;&lt;LI&gt;Then add .length or .size&lt;/LI&gt;&lt;LI&gt;Once it all works, consolidate it back into a single formula and add it back to the list helper&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 26 Mar 2024 20:54:19 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6298#M2764</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2024-03-26T20:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create formula for length of list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6301#M2766</link>
      <description>&lt;P&gt;Ah, now I see the "API Name"! And it is "Campaign__c". I made the change and followed your troubleshooting suggestions and it works for .pluck, .size and .length. I will use your "breaking down" technique again in the future I'm sure. Thanks once again, again for the help gary1 !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2024-03-26 at 7.28.01 PM.png" style="width: 341px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1092iAC21BA264169334B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2024-03-26 at 7.28.01 PM.png" alt="Screen Shot 2024-03-26 at 7.28.01 PM.png" /&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>Tue, 26 Mar 2024 23:42:11 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6301#M2766</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2024-03-26T23:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create formula for length of list</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6302#M2767</link>
      <description>&lt;P&gt;Glad it worked out. Gotta love the API name&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 00:18:01 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-create-formula-for-length-of-list/m-p/6302#M2767</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2024-03-27T00:18:01Z</dc:date>
    </item>
  </channel>
</rss>

