Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

To get no of documents created last month in the environment

Certified Senior Developer

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'm getting an error as "The passed parameter(s) are of the wrong type. Received the type List of Folder."

a!localVariables(
local!document: folder(
cons!DMF_DOCUMENT_FOLDERS_LIST,
"documentChildren"
),
sum(
a!forEach(
items: local!document,
expression: todate(document(fv!item, "dateCreated")) > today()-30,
)
)
)

Can anyone please help me.

  Discussion posts and replies are publicly visible