Hi Team,
I am getting parse exception in preview of Identity Profile as below for the transform in LifecycleState attribute.
Error : There was an exception while calculating the value for this attribute. Error during transformation for attribute: cloudLifecycleState (Transform ID: IAME-Lifecycle State Transfrom) Cause: Text ‘’ could not be parsed at index 0
Transform:
{
“name”: “IAME-Lifecycle State Transfrom”,
“type”: “static”,
“attributes”: {
“Within7Days”: {
“type”: “dateCompare”,
“attributes”: {
“firstDate”: {
“type”: “dateFormat”,
“attributes”: {
“input”: {
“type”: “accountAttribute”,
“attributes”: {
“sourceName”: “Lab Auth Source”,
“attributeName”: “startDate”
}
},
“inputFormat”: “dd/MM/yyyy”,
“outputFormat”: “ISO8601”
}
},
“secondDate”: {
“type”: “dateFormat”,
“attributes”: {
“input”: {
“type”: “dateMath”,
“attributes”: {
“expression”: “now+7d”
}
},
“inputFormat”: “dd/MM/yyyy”,
“outputFormat”: “ISO8601”
}
},
“operator”: “lte”,
“positiveCondition”: “true”,
“negativeCondition”: “false”
}
},
“MoreThan7Days”: {
“type”: “dateCompare”,
“attributes”: {
“firstDate”: {
“type”: “dateFormat”,
“attributes”: {
“input”: {
“type”: “accountAttribute”,
“attributes”: {
“sourceName”: “Lab Auth Source”,
“attributeName”: “startDate”
}
},
“inputFormat”: “dd/MM/yyyy”,
“outputFormat”: “ISO8601”
}
},
“secondDate”: {
“type”: “dateFormat”,
“attributes”: {
“input”: {
“type”: “dateMath”,
“attributes”: {
“expression”: “now+7d”
}
},
“inputFormat”: “dd/MM/yyyy”,
“outputFormat”: “ISO8601”
}
},
“operator”: “gte”,
“positiveCondition”: “true”,
“negativeCondition”: “false”
}
},
“inPresent”: {
“type”: “dateCompare”,
“attributes”: {
“firstDate”: {
“type”: “dateFormat”,
“attributes”: {
“input”: {
“type”: “accountAttribute”,
“attributes”: {
“sourceName”: “Lab Auth Source”,
“attributeName”: “startDate”
}
},
“inputFormat”: “dd/MM/yyyy”,
“outputFormat”: “ISO8601”
}
},
“secondDate”: {
“type”: “dateFormat”,
“attributes”: {
“input”: {
“type”: “dateMath”,
“attributes”: {
“expression”: “now”
}
},
“inputFormat”: “dd/MM/yyyy”,
“outputFormat”: “ISO8601”
}
},
“operator”: “gte”,
“positiveCondition”: “true”,
“negativeCondition”: “false”
}
},
“value”: “#if($Within7Days == ‘true’)hireinactive#elseif($MoreThan7Days == ‘true’)prehire#elseif($inPresent == ‘true’)active#{else}inactive#end”
}
}
Could you please help me finding what i causing the issue here?
Thank You