I am having trouble try to get the condition met to display if an account is older than 27-day display after the expire date to display 27 or leave it blank. For some reason i cannot get the output to display the 27 mark on the accounts. Can anyone see the problem
"name": "SNOW DATE Test",
"type": "static",
"attributes": {
"requiresPeriodicRefresh": "true",
"inactivestate": {
"attributes": {
"firstDate": "now",
"secondDate": {
"type": "firstValid",
"attributes": {
"values": [
{
"attributes": {
"input": {
"type": "accountAttribute",
"attributes": {
"attributeName": "accountExpires",
"sourceName": "ACTIVE DIRECTORY NON-EMPLOYEE ACCOUNT SOURCE"
}
},
"inputFormat": "yyyyMMddssssss",
"outputFormat": "MM/dd/yyyy"
},
"type": "dateFormat"
},
{
"attributes": {
"expression": "now+27d/d",
"roundUp": false
},
"type": "dateMath"
}
]
}
},
"operator": "GT",
"positiveCondition": "yes",
"negativeCondition": "no"
},
"type": "dateCompare"
},
"value": "#if($inactivestate=='yes')Day 27#{else}#end"
},
"internal": false
}