how to remove one type,if group type having more than one type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @sajampan ,
Can you explain your query properly? What exactly you are asking.
Regards,
Nikhil Bajaj
Regards,
Nikhil Bajaj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hey @sajampan,
That would be a business rule with similar conditions:
Buuuuuuut do you want to remove it for updates only or on insert also?
I see a challenge in the design - what if a group has one or no type and then you add two or three types? which one will remain?
Then maybe create a onSubmit client script that will allow just one type...
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @sajampan
First, generate a report (list type) where the count of type is more than 1. Then open each group one by one and delete the entries that are not required — or alternatively, create a background script to remove them in bulk.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @sajampan ,
Although your question is incomplete but what i understoof that you want to deactivate groups Where type contains SME and which are not mapped to any Service Offering. If yes, you can do it by background script. Where you can use encodedquery() if you have the exact filter condition else use addquery with filters and change state of Group to Deactive.
If my answer helepd you, please mark it solution accepted.
Regards,
Nikhil Bajaj
Regards,
Nikhil Bajaj