Hello Experts,
All new to this TRansform thing.
I am trying to calculate “startdate+10days”, “todayDate” . This will basically add 10 to the datehired and compare with todayDate.
it should return true if todayDate is less than the “startdate+10days”.
I feel like this operator "<‘’ is not working in this whole transform.
{
"id": "26578",
"name": "TransformName",
"type": "static",
"attributes": {
"todayDate": {
"attributes": {
"expression": "now/d",
"roundUp": "false"
},
"type": "dateMath"
},
"startDatePlusTen": {
"attributes": {
"expression": "+10d/d",
"roundUp": "false",
"input": {
"attributes": {
"id": "HP-Format_Date_to_ISO",
"input": {
"attributes": {
"values": [
{
"attributes": {
"sourceName": "HR",
"attributeName": "DateHired",
},
"type": "accountAttribute"
},
"5/7/2099"
]
},
"type": "firstValid"
}
},
"type": "reference"
}
},
"type": "dateMath"
},
"value": "#if($todayDate <= $startDatePlusTen))true#{else}false#end"
},
"internal": false
}"```

