Need a transform which can give the date at which the cost centre got change

Hey Guys,

I need a trasnform in which if the user cost center gets change then we need that date at which the cost center got updated as output??

can someone pls help

Do you have account attribute attribute last modified date of cost center in HR source ?

{
  "type": "accountAttribute",
  "attributes": {
    "sourceName": "Your HR Source",
    "attributeName": "costCenterLastModified",
    "accountSortAttribute": "created",
    "accountSortDescending": false
  },
  "name": "Cost Center Change Date Transform"
}

Then use this to update it with actual attribute and HR source

NO what i am trying to do is to make a new attribute in iden profile as “modiefied date cost center” where i can attach the transform will it work ?

Hi @Rakesh_Singh_1234,

Are you planning to store that date value on an identity attribute ? Also do you have any identity attribute that holds the cost center value ?

yes we have cost center is coming from hr source and storing it as well in profile by creating a cost center attr

And you also need the change date on an identity attribute ?

yes but we are not getting any attribute like Last updated date of cost center (for ex) from workday. then how we can do it

Check this post. This should help you

Rakesh, what have you tried so far and what are you stuck on with this? If you can provide questions related to where you are stuck, it would be easier for us to help you solve the issue.

I believe this requirement will involve creating two new identity attributes, considering that we already have an attribute in place to store the current Cost Center value.

  1. One attribute to store the previous (old) Cost Center value. You may refer to the following post for more details on how to store the old value of an identity attribute:
    https://developer.sailpoint.com/discuss/t/using-oldvalue-to-compare-the-old-and-actual-value-of-an-identity-attribute/43162

  2. Another attribute to store the date on which the Cost Center was last changed.

Once we have attributes in place to capture both the old and new Cost Center values, calculating the change date becomes a straightforward task.