- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2021 02:13 AM
I have a requirement where we are resetting the password of user via Orchestration and incorporated a notification activity within workflow which is sending the credentials to the user. However once the RITM is closed the password is visible in activity section of the RITM which is a Security breach. Can someone help me how to hide this email from activity logs of the RITM so that it should not be visible to anyone or the second approach not a single email should be visible for the RITM for this catalog item.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2021 02:04 AM
Consider creating an event to trigger a notification. This instead of directly using the Notification utility in Workflow/Flow will have as an advantage that you can use the Email Access Restriction + in general this approach is far more better for maintainability. Maintaining notifications that are created using the Notification utility are a nightmare.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2021 06:03 AM
what is the DOM manipulation you tried?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2021 06:12 AM
function onLoad() {
//Type appropriate comment here, and begin script below
var x = document.getElementsByClassName("activity_header");
var s = document.getElementsByClassName("activity_data");
var s1 = document.getElementsByClassName("activity_spacer");
for(var i=0;i<x.length;i++)
{
if(x[i].innerHTML.indexOf("Meghant") > -1)
{
//alert('hello');
x[i].style.display = 'none';
s[i].style.display = 'none';
s1[i].style.display = 'none';
}
}
//---------to hide 'Inactivity warning Activity' for UI 16
var x1 = document.getElementsByClassName("h-card h-card_md h-card_comments");
for(var j=0;j<x1.length;j++)
{
if(x1[j].innerHTML.indexOf("Meghant") > -1)
{
x1[j].style.display = 'none';
}
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2021 06:52 AM
Hi,
so using this are you not able to locate the html element for that string which contains password
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2021 07:12 AM
Yes Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2021 07:24 AM
Unless you find the HTML element you won't be able to hide it using DOM
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader