I wan to set one flag for conversion users as if the user are getting converted from employee to Contingent or Contingent to Employee the flag should change once again if the same users are getting converted the flag should not change.
Can you please suggest possible way how we can achieve it
There’s not enough information here to give a recommendation. A couple of questions
- Are new identities being created when a user migrates from one authoritative source to another?
- Are the people onboarding the user in the authoritative source always aware the person is a conversion?
- Is there any sort of “universal id” that would exist in both authoritative sources?
Hi Mark,
- There is only one authorative sources.
- No the person who are onboarded don’t have knowledge whether it is converted user or not.
- No there is no universal Id that would exist .
Our requirement is simple that We have one one authorative sources in which Contigent and Employee both type of users are coming . Later on if Contingent user got converted into Employee then that flag which we have to set should become true and upon converting from Employee to Contingent also there flag value should not change.
Based on the use case that you have defined I think the below logic should work.
Create a custom identity attribute in your identity profile lets say the attribute name is wasEmployee where you will store either true/false (boolean value)
Initial State:
If the user joins as Contingent set wasEmployee = false
If the user joins as Employee set wasEmployee = true
Later State:
When the user converts from Contingent to Employee you have to use userType and convert wasEmployee = true
There would be a scenario where user converts from Employee to Contingent and since you are using userType wasEmployee might change to false to stop this you have to use oldValue which holds the previous value.
So, in a nut shell you have to use userType which will have employee type of the user and oldValue in your transform to calculate the logic and put the correct value on this attribute.