How to keep the old department value?

@sidharth_tarlapally , @aishwaryagoswami , @UjjwalJain

Thank you for confirming my questions.
My goal is to reflect data from the HR source in Identity only when a specific date in the aggregated data (like in example 2 below) is reached.
The original script mapped attributes with the same names in the Identity Profile.

If you have any ideas on how to modify the script and Identity Profile mapping, please share your insights.

*The date format is yyyy/MM/dd

  1. 2025/04/01 - Current data
    [Account from HR Source]
    “username” : yukina okamoto
    “department” : Development department
    “startDate” : 2025/04/01

[Identity]
“username” : yukina okamoto
“department” : Development department
“startDate” : 2025/04/01

2.2025/05/01 - ISC aggregation from the HR Source
[Account from HR Source]
“username” : yukina okamoto
“department” : Sales department
“startDate” : 2025/06/01

[Identity] *I don’t want to update the department and start date in Identity at this time.
“username” : yukina okamoto
“department” : Development department
“startDate” : 2025/04/01

  1. 2025/06/01 - Identity update from the HR Source
    [Account from HR Source] *That data doesn’t change from 2.
    “username” : yukina okamoto
    “department” : Sales department
    “startDate” : 2025/06/01

[Identity]
“username” : yukina okamoto
“department” : Sales department
“startDate” : 2025/06/01

(My English is not very strong, and I am relying on AI for assistance. Please excuse any mistakes or inappropriate phrasing.)

1 Like