01-12-2023 06:37 AM
Hi Experts,
We have a requirement with database in which we have a single table, Is it possible to create multiple entries for the same user with multiple groups from Saviynt?
Thanks
Siva
01-12-2023 08:26 AM - edited 01-12-2023 08:27 AM
yes its possible https://www.mysqltutorial.org/mysql-insert-ignore/
INSERT INTO subscribers(email) VALUES('john.doe@gmail.com'), ('jane.smith@ibm.com');
01-12-2023 09:55 PM
Hi Rushikesh,
Thanks for helping, I will try with this.
Regards,
Shiva
01-17-2023 11:16 PM
Hi Rushikesh,
We have a requirement in which we have to insert the data into database on a daily basis.
I have to insert the various data for same existing user in the database on daily basis.
Could you pls tell,Is it possible to insert multiple rows into database for same user's account?
Thanks
Siva
01-18-2023 04:29 AM
If its target application and application allows its possible but what will be trigger point ? You will create update accoun task via actionable report / rules and write query in side update account json
01-19-2023 09:59 PM
Hi Rushikesh,
Thanks for the above info, but we are sending data to temporary table from there it goes to main application table but the thing they are deleting the data on daily basis (if i send a user data today to the temporary table then they will delete that data).
Here we need to insert the new records into the table on a daily basis from saviynt. we are able to create an account and insert data into the table for once.
Could you pls tell me, is it possible to insert all user's data on a daily basis without creating an account?
Thanks
Siva
01-20-2023 12:24 PM
You can do it create dummy update account tasks . Under Update account task write your logic.
This is not the best practices just workaround
01-23-2023 08:31 AM
Hi Rushikesh,
Thanks for the suggestion.
Could you please tell me, do we have any function other than order by to order the newly add entries at top in MySQL?
Even, we have tried with order by function, but it's not making that order.
Thanks
Shiva
01-23-2023 08:40 AM
sort basis on updatedate if you have column.
03-01-2023 07:40 AM
Hello,
You can use this SQL query to get all the latestes identities pushed into the platform by order as following:
select userkey, username, email from users order by userkey DESC
Regards,
Khaoula DOUHI
01-23-2023 08:47 AM
we don't have updatedate, createdate only passing in this report.
Thanks,
Siva
01-23-2023 08:53 AM
if you can share query i can try
01-23-2023 08:59 AM
select Createdate,Username,
CASE WHEN customproperty3 = 89 THEN 'AITS'
WHEN customproperty3 = 65 THEN 'AMS'
ELSE STATUSKEY END 'CompanyName', Firstname,Lastname,Displayname, customproperty1 as SamAccountName, CASE WHEN STATUSKEY = 0 THEN 'INACTIVE' WHEN STATUSKEY = 1 THEN 'ACTIVE' ELSE STATUSKEY END 'UserStatus' from users WHERE ((firstname LIKE '% %') OR (lastname LIKE '% %') OR (firstname LIKE '%-%') OR (lastname LIKE'%-%')) and date_sub(sysdate(), INTERVAL 7 DAY) < Createdate order by Createdate DESC
01-23-2023 01:47 PM
Its not showing record only in saviynt ? did u checked from data analyzer. I feel analytics sort first column asc by default
01-24-2023 09:20 PM
Hi Rushikesh,
I have checked in the data analyzer; it's resulting sort of first column asc only even if I made it Order by createdate DESC.
Thanks
Siva
01-24-2023 10:14 PM
What is significance of this making order by just to make sure data added in sequence?
01-24-2023 11:33 PM
They want see the latest user at the top in that analytic report,
So that they can check that user on priority
Thanks,
Siva
02-28-2023 02:48 AM
Hi @Siva
Please try, by this you will get the latest users.
select userkey from users order by userkey DESC