When manually setting the Lifecycle State, such as setting “Inactive”, IDN will perform the expected actions set on the Identity Profile (Disable/Enable). However, we have several Identity Attributes that reference the underlying “Lifecycle State” transform and thus their calculation would be out of sync with this setting.
For example setting the description as an Identity Attribute so we can utilize Attribute Sync:
"lifecycleState": {
"type": "reference",
"attributes": {
"id": "Lifecycle State"
}
},
"endDate": {#dateFormat/dateMath logic},
"value": "#if($lifecycleState == 'inactive') - Terminated $endDate
This would not append - Terminated $endDate
to the description as they are still calculated as Active. Aside from getting the LCS value from the Identity Attribute which is not recommended, is there a better solution to this or just a side effect of manually changing a user’s state?