Hello,
This morning I came across the following situation. We have a group of users who have and end date of 2023-09-26. In one of our Workday sources it would have moved this user to a PreTerm lifecycle state on 2023-09-27. When the same logic was applied to our SecZetta Source it moved the users to PreTerm on 2023-09-26. This in turn caused the users Active Directory to be disabled. The workday logic is working exactly as we would expect it to be working. I am trying to figure out why these 2 identity profiles are behaving so differently while using the exact same logic.
SecZetta Transform
{
"id": "1bb23791-6bfd-43bb-aea1-4bd3986f77bf",
"name": "Transform - DateCompare - SecZetta Preterm LCS",
"type": "dateCompare",
"attributes": {
"firstDate": {
"type": "dateFormat",
"attributes": {
"input": {
"attributes": {
"input": {
"attributes": {
"expression": "+1d/h",
"roundUp": true,
"input": {
"attributes": {
"input": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "engagement_end_date",
"sourceName": "SecZetta Assignments"
},
"type": "accountAttribute"
},
"2999-12-13"
]
},
"type": "firstValid"
},
"inputFormat": "yyyy-MM-dd",
"outputFormat": "ISO8601"
},
"type": "dateFormat"
}
},
"type": "dateMath"
},
"begin": 0,
"end": 10
},
"type": "substring"
},
"inputFormat": "yyyy-MM-dd",
"outputFormat": "ISO8601"
}
},
"secondDate": {
"attributes": {
"id": "Transform - DateMath - getCurrentDate"
},
"type": "reference"
},
"operator": "gt",
"positiveCondition": "active",
"negativeCondition": "preterm"
},
"internal": false
}
Workday Transform
{
"id": "8683196e-e6a4-4851-aaa7-32bf5cbfd499",
"name": "Transform - DateCompare - Determine Preterm LCS",
"type": "dateCompare",
"attributes": {
"firstDate": {
"type": "dateFormat",
"attributes": {
"input": {
"attributes": {
"input": {
"attributes": {
"expression": "+1d/h",
"roundUp": true,
"input": {
"attributes": {
"input": {
"attributes": {
"values": [
{
"attributes": {
"attributeName": "Term Date__c",
"sourceName": "Workday Production"
},
"type": "accountAttribute"
},
"2999-12-13"
]
},
"type": "firstValid"
},
"inputFormat": "yyyy-MM-dd",
"outputFormat": "ISO8601"
},
"type": "dateFormat"
}
},
"type": "dateMath"
},
"begin": 0,
"end": 10
},
"type": "substring"
},
"inputFormat": "yyyy-MM-dd",
"outputFormat": "ISO8601"
}
},
"secondDate": {
"attributes": {
"id": "Transform - DateMath - getCurrentDate"
},
"type": "reference"
},
"operator": "gt",
"positiveCondition": "active",
"negativeCondition": "preterm"
},
"internal": false
}