Hello Everyone,
I have return the date compare transform but it showing error while running the transform. Can you please conform, can we able to compare two different dates in transform? if yes can you please provided the sample transform
{
"name": "Datecheck",
"type": "static",
"attributes": {
"TDate": {
"attributes": {
"sourceName": "Example source",
"attributeName": "EndDate"
},
"type": "accountAttribute"
},
"EDate": {
"attributes": {
"sourceName": "Example source",
"attributeName": "Entry Date"
},
"type": "accountAttribute"
},
"value": "#if($TDate <= EDate) Date compare #{elseif}($TDate >= EDate) Date compare 2 #{else} Test failed #end"
}
}