ERROR :
TRANFORM :
{
“name”: “WD_LCS_LifecycleState_Transform”,
“type”: “static”,
“attributes”: {
“isPreHireDisable”: {
“type”: “condition”,
“attributes”: {
“operator”: “eq”,
“operands”: [
{
“type”: “accountAttribute”,
“attributes”: {
“sourceName”: “WD_LCS”,
“attributeName”: “ACTIVE_STATUS”
}
},
“0”
]
}
},
“isHireDateWithin21Days”: {
“type”: “dateCompare”,
“attributes”: {
“firstDate”: {
“type”: “dateFormat”,
“attributes”: {
“input”: {
“type”: “accountAttribute”,
“attributes”: {
“sourceName”: “WD_LCS”,
“attributeName”: “HIREDATE”
}
},
“inputFormat”: “MM/dd/yyyy”,
“outputFormat”: “ISO8601”
}
},
“secondDate”: {
“type”: “dateMath”,
“attributes”: {
“expression”: “now+21d”
}
},
“operator”: “lte”
}
},
“isOnLeaveOrLTDSep”: {
“type”: “condition”,
“attributes”: {
“operator”: “or”,
“operands”: [
{
“type”: “accountAttribute”,
“attributes”: {
“sourceName”: “WD_LCS”,
“attributeName”: “ON_LEAVE”
}
},
{
“type”: “accountAttribute”,
“attributes”: {
“sourceName”: “WD_LCS”,
“attributeName”: “SEPLTD”
}
}
]
}
},
“isHireDatePastOrToday”: {
“type”: “dateCompare”,
“attributes”: {
“firstDate”: {
“type”: “dateFormat”,
“attributes”: {
“input”: {
“type”: “accountAttribute”,
“attributes”: {
“sourceName”: “WD_LCS”,
“attributeName”: “HIREDATE”
}
},
“inputFormat”: “MM/dd/yyyy”,
“outputFormat”: “ISO8601”
}
},
“secondDate”: {
“type”: “dateMath”,
“attributes”: {
“expression”: “now”
}
},
“operator”: “lte”
}
},
“isTerminationDateLessThan35Days”: {
“type”: “dateCompare”,
“attributes”: {
“firstDate”: {
“type”: “dateFormat”,
“attributes”: {
“input”: {
“type”: “accountAttribute”,
“attributes”: {
“sourceName”: “WD_LCS”,
“attributeName”: “TERMINATION_DATE”
}
},
“inputFormat”: “MM/dd/yyyy”,
“outputFormat”: “ISO8601”
}
},
“secondDate”: {
“type”: “dateMath”,
“attributes”: {
“expression”: “now-35d”
}
},
“operator”: “gte”
}
},
“isTerminationDateGreaterThan35Days”: {
“type”: “dateCompare”,
“attributes”: {
“firstDate”: {
“type”: “dateFormat”,
“attributes”: {
“input”: {
“type”: “accountAttribute”,
“attributes”: {
“sourceName”: “WD_LCS”,
“attributeName”: “TERMINATION_DATE”
}
},
“inputFormat”: “MM/dd/yyyy”,
“outputFormat”: “ISO8601”
}
},
“secondDate”: {
“type”: “dateMath”,
“attributes”: {
“expression”: “now-35d”
}
},
“operator”: “lt”
}
},
“value”: “#if($isPreHireDisable && $isHireDateWithin21Days)PreHire Disable#elseif($isHireDatePastOrToday && !$isOnLeaveOrLTDSep)Active#elseif($isOnLeaveOrLTDSep)LOA Disabled#elseif($isTerminationDateLessThan35Days)Terminated - Disabled#elseif($isTerminationDateGreaterThan35Days)Terminated - Delete#{else}Keep current state#end”
},
“internal”: false
}


