I am new to PowerAutomate so i'm really learning on the fly. I am building a flow that counts the total # of files in a SharePoint Library folder, but its counting 1 too many. I think its counting the main folder also
The folder that I want to count the files currently has 3 files in it, but my flow is returning a count of 4
Flow as follows (the flow is on my work computer so I cant post screen shots:
1)Get Files Properties only
- site address is correct
- Library name: Manager attestations
- Limit to entries : March Manager Attestations ( currently has 3 files in it)
- Include nested items: yes (if i click "no" it only returns a count of 1 file)
2) Compose
- Input: length(outputs( 'getfiles properties only)')?['body/value'])
3)send email to myself (testing purposes)
- Subject: Outputs
- Body: Outputs
Any help would be greatly appreciated