Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Clear List View Value

GMoon
Kilo Sage

Hi all,

 

On our Hardware form, we have a field called 'Date Moved to Stock'. The date is set to the present date via a Business Rule. When this date is cleared from the 'Date Moved to Stock' field, the original date value still appears in List View. I have tried to use a Business Rule to clear the value but it does not work. 
I'm not certain whether a Business Rule is the correct way or whether I should use something else? would appreciate the support on achieving this.

 

Thanks!

 

1 ACCEPTED SOLUTION

GMoon
Kilo Sage

Thanks to all for the replies. I have solved this by writing an OnChange Client Script.

View solution in original post

7 REPLIES 7

maroon_byte
Mega Sage

Why do you need a BR to clear the date when the date is cleared?

It does not clear the previous value in List View.

BrahmjeetTanwar
Tera Guru

Hi @GMoon 
I see that there is space between current. and u_date_moved_to_stock in Clear date BR, please remove the space and then test once.

 

Please let me know if you have any question or mark this as accepted/helpful if it helps.


Thanks,
Brahm

Great spot, unfortunately  it still does not work.