Dont want to capture field in activity when its value changed to empty from some value

AjKadam
Tera Contributor

I have a field called "Test1" which is a string field, and I am capturing it in Activities, so when we are modifying fields, it is getting captured in Activities, but when we make it empty and save the form, then also it is getting captured as "[Empty] was previousValues."

 

The requirement is, when it gets changed to empty, we don't want to show it in Activities.

Is it possible to have some condition to achieve it?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@AjKadam 

that's how OOTB the audit works and activities filter work and it captures everything

You cannot restrict or tweak that.

Please inform your customer about this platform behavior.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

3 REPLIES 3

Brian Lancaster
Tera Sage

I do not believe it is possible to not display when it changes to empty. The activity is just looking at the audit history of the records so once you add it to the activity steam it will show all changes to the field.

Ankur Bawiskar
Tera Patron
Tera Patron

@AjKadam 

that's how OOTB the audit works and activities filter work and it captures everything

You cannot restrict or tweak that.

Please inform your customer about this platform behavior.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @AjKadam 

It is an expected behavior, and we cannot change it.

*************************************************************************************************************
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]

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