I am trying to get all documents within a time range using RunMongoAggreation.
In console I tried with below query and it worked fine.
aggregate([
{
"$match": {
"modified_at": {
"$gte": ISODate("2017-02-08T12:10:40.787")
}
}
}
])
Flowfile has below properties
startTimestamp: 2017-02-08T12:10:40.787
Below is the query being used in RunMongoAggreation
[
{
"$match": {
"modified_at": {
"$gte": "${startTimestamp}"
}
}
}
]
Its not return result