Filter Work Notes in Case Activity Based on Category (Internal vs External)

mania
Tera Contributor

Hi,

We have configured the logic for a field called Category with the choices “A,” “B,” and “C.” If “A” or “B” is selected, the notifications are sent internally, and if “C” is selected, the notifications go to external users.

Now, we have a requirement to create a filter called Work Notes Type with the choices “A,” “B,” and “C.”

  • If “C” is selected, the customer email–related data should be displayed in the Activity section.

  • If “A” or “B” is selected, only the internal email / internal notes should be displayed in the Activity section.

Could someone please advise on how we can achieve this on the Case form?

mania_0-1768906038889.png

 

They do not want to use the “Filter Activity” option. Instead, they require a customization using a separate field to control and display the relevant data in the Activity section.
mania_1-1768906102660.png

 

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@mania 

you can't achieve this on activity section as you can't write direct script on that

You can try to use DOM manipulation but that's not recommended and it will hide unwanted part from activity section

see this link where I shared solution for this, check that and enhance

Hide Image Activities from RITM 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@mania 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@mania 

Thank you for marking my response as helpful.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron

Hi @mania 

It is not possible to put any direct code here, as the platform has been designed that way. We need to use the tags provided by the platform, as it has been intended.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************