<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>To get no of documents created last month in the environment</title><link>https://community.appian.com/discussions/f/general/26068/to-get-no-of-documents-created-last-month-in-the-environment</link><description>Hi, 
 I have a requirement where I need to get the total no of documents created last month in the environment. 
 I have added all the document folders in a constant and tried to fetch the documents count but I&amp;#39;m getting an error as &amp;quot; The passed parameter</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: To get no of documents created last month in the environment</title><link>https://community.appian.com/thread/102076?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 10:37:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d298b056-fee7-4270-b6d2-0fc2889bc4c8</guid><dc:creator>p2005</dc:creator><description>&lt;p&gt;Thanks Harshit, It worked&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To get no of documents created last month in the environment</title><link>https://community.appian.com/thread/102072?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 10:33:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3401f39d-fd50-455a-80ac-155724e096cc</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;I mean not an array only one single folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To get no of documents created last month in the environment</title><link>https://community.appian.com/thread/102070?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 10:30:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:daffa425-6351-4141-88d6-beb64d8c5dc0</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;local!document: a!flatten(
  a!forEach(
    items: cons!DMF_DOCUMENT_FOLDERS_LIST,
    expression: folder(fv!item, &amp;quot;documentChildren&amp;quot;)
  )
),&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To get no of documents created last month in the environment</title><link>https://community.appian.com/thread/102069?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 10:30:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae23cfd1-3272-4e42-9692-16a2deefb03b</guid><dc:creator>p2005</dc:creator><description>&lt;p&gt;Sorry, I didn&amp;#39;t get you. Could you please explain&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To get no of documents created last month in the environment</title><link>https://community.appian.com/thread/102066?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 10:27:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d2a5d3e-1efb-4d18-8d66-e2b9cefc3160</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;Ohhh I took it like you are storing folder in the constant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To get no of documents created last month in the environment</title><link>https://community.appian.com/thread/102065?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 10:26:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:63834091-3940-4291-89bc-2e31f49fe886</guid><dc:creator>p2005</dc:creator><description>&lt;p&gt;Hi Harshit,&lt;/p&gt;
&lt;p&gt;Yeah, it worked when I passed individual folder but I want for list of all the document folders in the environment. Could you please help if we have any way other than this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To get no of documents created last month in the environment</title><link>https://community.appian.com/thread/102064?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 10:24:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b3ee602-d60f-4009-9720-65f0cce124a4</guid><dc:creator>p2005</dc:creator><description>&lt;p&gt;Hi Ujjwal,&lt;/p&gt;
&lt;p&gt;PFB screenshot with the values in the constant.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1664447063889v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The code is working with individual folder. But I want for list of all the document folders in the environment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To get no of documents created last month in the environment</title><link>https://community.appian.com/thread/102060?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 10:19:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6b79ddb0-6e1d-4c16-9ca3-70ced670914d</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;The error is very specific. If it is not working with a list, you might have to iterate through that so you can pass an individual folder instead a list.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To get no of documents created last month in the environment</title><link>https://community.appian.com/thread/102059?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 10:17:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a46781a-1701-40fc-81d9-8d671357b872</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;Can you share the screenshot for the values which you have in your local variable actually this is working I tried using the same code it is working. Have you tested it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>