clearvalue

RC12
Tera Contributor

hi all

i have a field name(u_string_1). i want to clear the field value in Business rule i.e server side. can anyone tell me what is the syntax like current.?

Thank you.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

I assume you are using before insert/update BR

simple syntax

current.u_string_1 = '';

OR

current.setValue('u_string_1','');

Regards
Ankur

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

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

I assume you are using before insert/update BR

simple syntax

current.u_string_1 = '';

OR

current.setValue('u_string_1','');

Regards
Ankur

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