- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 11:07 PM
Hi Ankur,
I tried with this filter. still i could see all the group's getting imported from AD to Staging table.
Filter: (&(objectclass=group)(!(OU=ServiceNow)))
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 11:14 PM
Hi,
in that case then handle this using onBefore transform script
Sample script below
var incomingGroupName = source.<importSetFieldName>;
if(incomingGroupName.indexOf("OU=ServiceNow") > -1){
ignore = true;
}
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2020 02:30 AM
Hi Ankur,
I have similar requirement as I want to remove test 0U data but in production service now instance only, Is there any way to appear the data in dev and UAT environment only ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2020 06:06 AM
As I mentioned, importing it to staging table and using trasform map will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2020 02:31 AM
Hi Mike,
I have similar requirement as I want to remove test 0U data but in production service now instance only, Is there any way to appear the data in dev and UAT environment only ?