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

Forum Posts

How to make variable bold and blue in color in catalog item

Hi Developers., I have written below onload script but it is unsuccessful, please help me First method:var el = g_form.getControl('project_name');el.style.color = 'red';el.style.fontWeight = 'bold';2nd method var l = g_form.getLabel('ns_new_laptop_ms...

Gayathri5 by Tera Guru
  • 858 Views
  • 2 replies
  • 0 helpfuls

Service Now Integration using REST

Hi, I am passing the impact and urgency value from one instance to another instance using Rest integration but it is not updating in second instance. Could anyone help me please. Thanks,Manjunath

manju5 by Tera Contributor
  • 717 Views
  • 5 replies
  • 0 helpfuls

UI policy not working

Hi teamam trying to show/hide a substate value based on State value = In stock and Model category= A, under alm_hardware table. But UI policy not working. Selected condition, On Load=true, Reverse if false= true, inherit= true 

priceless_0-1700123728096.png
priceless by Tera Expert
  • 1242 Views
  • 7 replies
  • 0 helpfuls

remove user from a servicnow group from array of user sys_ids

hi there very similar to the attached script i need a script for following scenario array of sys_user id, in some instances there will only be 1 sys_idgroup name will be specifiedremove servicenow group members with the list from the arrayif user fro...

levino by Giga Guru
  • 742 Views
  • 3 replies
  • 1 helpfuls

Resolved! Business Rules to update record on database

(function executeRule(current, previous /*null when async*/) {var appname = current.name;var sup = current.supported_by.toString();var database = new GlideRecord('cmdb_ci_database');database.query('u_application', 'name', appname);database.query();wh...

Testing g_form in Chrome console

Is it possible to invoked methods on g_form in the console of chrome? I tried and it did not find the object. Wondering if there is any wrapper or  in anyway. Appreciate it.

Giri6 by Tera Expert
  • 4889 Views
  • 10 replies
  • 4 helpfuls

Surveys and Assessments in Workspaces

 Hi,Has anyone been able to use Surveys and Assessments in a workspace.I see you can use them in portals and the backend, but can't find information about using then within Configurable Work Space.I can't see any componets to do this. Is this possibl...