How to delete multiple records through flow designer ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 05:12 AM
Hi Community,
I have two variables in catalog item:-
Group( choice type)
Users(referring to sys_user & type is list collection)
So for example, if user selects group 'A' then it's all respective members auto populates to users field.
I want to delete these users using flow designer.
I have tried with Delete Multiple Records action but don't know how to configure it.
Could anyone please help me on this?
Thanks,
Ankita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 06:03 AM
Firstly, I do not understand why you want to delete the users (ServiceNow recommends not to delete records). If you want to delete the group membership 'sys_user_grmember', then it makes sense. Below is how you can configure delete records action - Change the table name according to your requirement.
Thanks,
Chaitra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 06:37 AM
Hi @Chaitra Geetha ,
Thanks for your response.
Sorry ,typo mistake. I want to delete records from 'sys_user_grmember' only.
I'm not able to find Delete Records action in flow designer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 06:51 AM
May be I am wrong, but delete word is right term here. It should be remove users from group.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************