Hi Team,
I am Trying to create transform to see start date is less than 5 days or not somehow its not working can some point what I am doing wrong here
{
"name": "startDateCompare",
"type":"static",
"attributes": {
"5DayCheck": {
"type": "dateCompare",
"attributes": {
"firstDate": {
"type": "dateFormat",
"attributes": {
"input": {
"type":"dateMath",
"attributes": {
"expression": "now-5d"
}
},
"inputFormat": "yyyy-MM-dd'T'HH:mm",
"outputFormat": "ISO8601"
}
},
"secondDate": {
"type": "dateFormat",
"attributes": {
"input": {
"type": "accountAttribute",
"attributes": {
"sourceName": "TestSourceforjoiner",
"attributeName": "HIREDATE"
}
},
"inputFormat": "MM/dd/yyyy",
"outputFormat": "ISO8601"
}
},
"operator": "lte",
"positiveCondition": "true",
"negativeCondition": "false"
}
},
"value": "#if($5DayCheck=='true')start#{else}notstart#end"
}
}