and more in a single search tool across platforms. Read the announcement here. |
06/27/2023 03:05 PM
Hi Team,
We have a SOAP connection where we are importing data of users from Workday for identity type A. SO, if user has identity type A and one of the custom property mentioned as B, we say user is present in Workday and data will be imported from WD to Saviynt for that particular user. There are cases where users will be present in Workday but in case their identity type will be updated in Saviynt, We want to restrict users data to be updated into Saviynt user profile when User do not have identity type - A and one of the custom property mentioned as B.
How can we achieve this case? Can this be restricted via modify user json, where we will be just importing data and by applying filter if custom property is B and Identity type is A then only update the data in Saviynt.
06/28/2023 02:42 PM
The inline processing can only be used to update the user's metadata but not to restrict a user form getting imported. Let me check if there is any other way to do this and will update you.
07/01/2023 11:18 PM
Is there any other way to restrict user data in Saviynt?
07/02/2023 09:36 PM
Yes. this can be achieved using inline preprocessor. based on the condition set the username in the inline preprocessor as null. this will restrict the user update.
07/03/2023 03:22 AM
We have below condition mentioned in modify user json still we are seeing entries(other custom properties) populated in saviynt from HR even though the condition is not met
"UPDATE NEWUSERDATA N1 LEFT JOIN CURRENTUSERS U ON TRIM(LEADING '0' FROM N1.USERNAME)=U.USERNAME SET N1.USERNAME = CASE WHEN (U.REGIONCODE <> 'A' AND !(U.CUSTOMPROPERTY51 <=>'B')) THEN NULL ELSE N1.USERNAME END;",
Should this query be able to restrict users data to be updated in saviynt user profile even though user is present in HR but regioncode in saviynt is not A or Custom property51 is not B.
07/04/2023 11:00 AM
Hello Team,
Do we have an update please?
07/07/2023 10:56 AM
Though there is no direct way to restrict Users getting imported to not be updated, this is a possible solution @naveenss suggested. Can you confirm if you are using Username in your recon field or if it is a different one. Also, please mention the value of the recon field under ADDITIONALTABLES and COMPUTEDCOLUMNS section.
This is assuming the DB query you are using is correct and gives the desired output when you use it as select statement.
07/09/2023 12:02 PM
We are using username in Recon field.
Below is the sample of fields being added under additional table -"ADDITIONALTABLES": {
"USERS" : "SELECT USERNAME,CUSTOMPROPERTY51 FROM USERS"},
Below is the sample of fields being added under computed table -
"COMPUTEDCOLUMNS": [
"OWNER","USERNAME"]
The custom property 51 is the CP which should be 'B' as per the requirement along with region code 'A' then only user profile should be updated with the data being pulled in HR Import JSON
07/13/2023 04:22 AM
Any update on the above query?
07/13/2023 04:29 AM
share your current query
07/13/2023 05:38 AM
@rushikeshvartak , Have replied back to Sahil's query but no reply yet
07/04/2023 12:15 PM
If above conditions does not match then user should not be updated
07/19/2023 11:24 AM
@Kaushik1 Can you check your query to see if it is correct. I just tested a simple scenario on my env and it works for me. I directly updated the username value as Null in preprocessor query and my record was not created/updated.
It should work and in case it does not please check the job logs to analyze.
08/09/2023 12:44 PM
Below is the query:
"PREPROCESSQUERIES": [
"UPDATE NEWUSERDATA SET USERNAME = TRIM(LEADING '0' FROM USERNAME);",
"UPDATE NEWUSERDATA N1 LEFT JOIN CURRENTUSERS U ON TRIM(LEADING '0' FROM N1.USERNAME)=U.USERNAME SET N1.USERNAME = CASE WHEN (U.REGIONCODE <> 'Employee' AND !(U.CUSTOMPROPERTY51 <=>'True')) THEN NULL ELSE N1.USERNAME END;",
08/15/2023 09:53 AM
Can you run the query to verify if is returning the desired output.