I am getting errors for a transform for all users. However in the preview the value is correct, and if I run a refresh they are all correct and the error goes away. I am not sure what process is causing them to show in this state. Below are screenshots of the error and the JSON for the Transform.
{
"attributes": {
"negativeCondition": "$department",
"date": {
"attributes": {
"input": {
"attributes": {
"expression": "now",
"roundUp": true
},
"type": "dateMath"
},
"inputFormat": "ISO8601",
"outputFormat": "yyyy-MM-dd"
},
"type": "dateFormat"
},
"expression": "$lcs eq inactive",
"positiveCondition": {
"attributes": {
"value": "#if($old == 'Disabled')$oldValue#{else}Disabled $date by IdentityNow#end"
},
"type": "static"
},
"old": {
"attributes": {
"input": {
"attributes": {
"values": [
"$oldValue",
""
],
"ignoreErrors": "true"
},
"type": "firstValid"
},
"delimiter": " ",
"index": 0.0
},
"type": "split"
},
"department": {
"attributes": {
"attributeName": "DEPARTMENT_ID",
"sourceName": "ADP"
},
"type": "accountAttribute"
},
"lcs": {
"attributes": {
"values": [
{
"attributes": {
"name": "DetermineLifecycleState_v3"
},
"type": "rule"
},
"null"
],
"ignoreErrors": "true"
},
"type": "firstValid"
}
},
"id": "Common - Department",
"type": "conditional"
}