We have a birthright AD role, with assignment criteria based on job code and cost center. When enabled in production, it will be assigned to 5,000 identities. However, the existing 1,450 identities do not have birthright AD role groups. Our client requires to assign the birthright AD roles only to new users.
Criteria based assignment assigns the access to all the user, it can be new/existing users. It just checks the criteria, if matches then it will assign the access. SailPoint will not know if its new/existing user.
I can think of workflows here, you can go for scheduled trigger (you can run twice a day pr as per client’s preference), then get list of identities that got created in last 12 hrs (considering workflow run twice a day) and have “ABC” job code and cost center using a query. Then call API to submit a role/access request.
Have you considered creating a transform that would flag these existing 1500 users.? May be based on their start date or some other criteria that is already available.
You can then use this identity attribute in the role membership criteria so that it can filter out the existing users.
You’d need some identity attribute which distinguishes new users from ,non-new, users. For example, using transforms, you can calculate a value based on date and add a value to that identity attribute:
If new users are considered for the first 30 days upon hiring:
Something with datecompare,
date1:hiredate+30days
date2=current_date
If date1<date2 , assign ,new_user, ,
else assign ,old_user,
In birthright role, add that new attribute as an criteria with the value of ,new_user,