Need to clear value of widget.

Shobha N
Tera Contributor

Hi All,

i have a time widget(custom with label) on catalog item, which needs to be cleared on variable(date). i tried $watch method using both clearvalue and setvalue methods but didn't work, can someone guide me on this.

 

ShobhaN_0-1738917390804.png

Regards,

Shobha N

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Shobha N 

is that alert coming? share the script here

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

Ankur Bawiskar
Tera Patron
Tera Patron

@Shobha N 

check these links

Widget set catalog item variable after c.server.update() 

Pass values from a Widget to a Catalog item variable 

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