We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

User record in update set

Hello All, I want to capture the user data into update. As soon I add new record in sys_user table it has to be capture in update set. I tried by adding update_sync attribute to sys_user table, it is not allowing me to add this attribute. Can you ple...

sunil29 by Tera Contributor
  • 3576 Views
  • 6 replies
  • 1 helpfuls

What is the use of insertLazy() in GlideRecord?

Hi, I was going through one of the OOB script includes : PerspectiumLogger,when I came across the use of lgr.insertLazy() for var lgr = new GlideRecord("u_psp_log_message") in log function. Could you please explain the difference between insertLazy a...

Pranshu3 by Tera Expert
  • 1839 Views
  • 3 replies
  • 3 helpfuls

Workflows- set values activity not working

Hi, I am going through the learning plans provided by the ServiceNow developer portal. I find it very useful and easy to follow but now I stuck at a challenge. I have created a workflow to automate approval and task creation process. If the approval ...

Gergely5 by Kilo Contributor
  • 4614 Views
  • 14 replies
  • 0 helpfuls

changes made in UI Script not taking effect

Hi folks,  I am stuck at UI script changes on the Change Schedule gantt chart modifications.  The Change Schedule calendar is under Change Management - Change Schedule app, but no matter how I change the UI Script or UI macro on this application, the...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
georgechen by Kilo Guru
  • 2558 Views
  • 2 replies
  • 1 helpfuls

[Service Portal] Overriding angular directives

Curious if there is any documentation on overriding angular directives in Service Portal? I want to overwrite the <sp-help-tag> directive. I thought it could be done using an angular provider. I found an example of how to accomplish this for the `spM...

find_real_file.png find_real_file.png
Community Alums by Community Alums  
  • 3952 Views
  • 5 replies
  • 6 helpfuls

Remove html tags in List view of an HTML field

Hi All ServiceNow enthusiasts,Problems don't end and Solutions too !!!We had a requirement to change the 'Additional Comments' field from String to HTML. After the change, the field content in the activity log after Save/Update was showing all kinds ...

arnabwa by Giga Guru
  • 7426 Views
  • 10 replies
  • 8 helpfuls

Need to clear assigned to when assignment group is changed.

Hi, I need to remove 'closed cancel', 'closed completed' states when state is open, only when state is 'work inprogress' those two fields should be visible. And assigned to should be mandatory in 'open' state, when assignement group is changed , assi...

rambo1 by Tera Guru
  • 3111 Views
  • 5 replies
  • 1 helpfuls

Onload client script to load data from a table

Hi, I have create an onload client script to load data from a table to the main catalog item form. If the application name matches in the table, I have to populate all field from the table to the main form. Will i have to use Glideajax or there is an...

prabhmeet by Giga Expert
  • 3975 Views
  • 1 replies
  • 0 helpfuls