Welcome back @P96337 
Allow me to help you troubleshoot the Epic login date parsing issue.
Since your transform is only returning the static value “0”, this indicates the firstValid transform is not finding valid data in the “Last successful login” attribute, so it’s falling back to your static fallback.
First, let’s check what format Epic is actually providing for login dates. Select your Epic source and view a few accounts to check the value in “Last successful login” account attribute.
Note: Epic systems often use different date formats than expected.
The value you see for the dates may be in one of these formats documented in dateFormat transform: Date Format | SailPoint Developer Community
Try this diagnostic version to see what data you’re actually getting:
{
"name": "Epic-Login-Debug",
"type": "firstValid",
"attributes": {
"values": [
{
"type": "accountAttribute",
"attributes": {
"sourceName": "XXXX",
"attributeName": "Last successful login"
}
},
{
"type": "static",
"attributes": {
"value": "NO_DATA_FOUND"
}
}
]
}
}
Your potential solutions would be based on Epic date Format. Supported inputFormat options are already documented in the transform link above.
For instance If Epic uses Java epoch (milliseconds):
{
"name": "Epic-Login-Java-Epoch",
"type": "dateFormat",
"attributes": {
"input": {
"type": "firstValid",
"attributes": {
"values": [
{
"type": "accountAttribute",
"attributes": {
"sourceName": "XXXX",
"attributeName": "Last successful login"
}
},
{
"type": "static",
"attributes": {
"value": "0"
}
}
]
}
},
"inputFormat": "EPOCH_TIME_JAVA",
"outputFormat": "ISO8601"
}
}
If Epic uses string format:
{
"name": "Epic-Login-String",
"type": "dateFormat",
"attributes": {
"input": {
"type": "firstValid",
"attributes": {
"values": [
{
"type": "accountAttribute",
"attributes": {
"sourceName": "XXXX",
"attributeName": "Last successful login"
}
},
{
"type": "static",
"attributes": {
"value": "01/01/1970"
}
}
]
}
},
"inputFormat": "MM/dd/yyyy",
"outputFormat": "ISO8601"
}
}
Epic date format might be custom, so the diagnostic step is crucial!
Let us know what the diagnostic transform shows and we can help you further.
Good luck!