Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Template is posted as a comment while hitting the "Save" UI action

dimabureyko
Tera Contributor

on my servicenow instance on the service operation workspace when i use a template, then deletes it from the comment box and hit the save button it prints it.
I tried to edit the ui action to empty the fields work_notes and comments but even when i setValue to ' ' the fields remain with the templates value.
How can i make sure to remove those values before i hit the save?
right now my save ui action is :
current.setValue('work_notes','');
current.setValue('comments','');
When i log the fields after those lines the fields holds the values of the templates still. please help me solve this issue so when i hit save it wont post anything.
If there might be something else causing this to happen or you have a better way to approach this feel free to offer your solution.

 

0 REPLIES 0