Hi Shashank,
Please refer below code to achieve this functionality:
<#assign current_date = "NOV/2/2015">
<#assign my_pipeline1>
{$project : {"task_name" : "$task_name", "task_match" : {$eq : [{$substr : ["$task_name",28,10]},"${current_date}"]}}}
</#assign>
<#assign res=aggregate_collection("practice_test",my_pipeline1)>
${res}
--- where "practice_test" is a collection name, "task_match" is the newly added key which will store boolean value based on date match. Here I have just kept "task_name" key-value pair in the record, you can add as many pairs you require.
From the result of this query, you can fetch records with "task_match = true", and it will give you the required result.
Kindly try this out and let us know if this works for you.
Best Regards,
Fujitsu RunMyProcess Support.