Hi
I am very new to flow and I'm trying to create a flow that requests for a [Start Date] and [End Date] when triggered.
Then I wish to use those dates in conditions so that I can populate a database with the document properties (from Sharepoint) where the document date is between the two dates.
I have been trying to use the following condition, but it isn't identifying any documents that fulfil the criteria even though I know there are some that do.
@and(@greateror equals(items('Apply_to_each')?['Document_x0020_Date'], triggerbody()?['Start Date'], ''), @lessorequals(items('Apply_to_each')?['Document_x0020_Date'], triggerbody()?[End Date'], ''))
Any help with this would be very much apprecaited.
TIA