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

Forum Posts

Resolved! Conditional mandatory field

Hi, I have to make 'justification' mandatory if the 'planned_start_time' is less than 3 hours from the change is requested.  I've tried with business rule, it didn't work.  What is the best way to achieve this.   Thanks Riya

Riya17 by Giga Contributor
  • 3878 Views
  • 22 replies
  • 1 helpfuls

Dos the parent table ACL restrict access to child table?

Does the parent table ACL restrict access to child table? For example, pm_program is given access to program_manager role, now the extended table, pm_extended_program table does not allow users without program_manager role to access the extended tabl...

lathashree by ServiceNow Employee
  • 7830 Views
  • 5 replies
  • 3 helpfuls

Resolved! How to display Incidents and Requests on Service portal,

Hello Guys  I am new to service portal designing I need help to display the Incidents and Request on the service portal.  I am attaching the HTML script and Server Script where i have created a widget where this function should work I want these thin...

sivakalyaan by Giga Contributor
  • 6529 Views
  • 17 replies
  • 0 helpfuls

Resolved! g_form.getSysId() and g_form.getUniqueValue returning -1

I need to check if a record has an attachment onSubmit in ServicePortal with the out-of-box form widget.  When using g_form.getSysId in a client script, it is returning -1.  g_form.getUniqueValue() returns -1 as well. g_form.getUniqueValue() works in...

cljordan by Tera Expert
  • 6075 Views
  • 5 replies
  • 2 helpfuls

Display a reference field as a choice list

Need insight to get this working correctly.  Trying to set a reference field in the base table to show a lookup/choice list on the form for the table.  Display reference as choice list Lookup table, badgMgma, has two fields cFte1 and Specialty.  Spec...

find_real_file.png find_real_file.png

Resolved! Can a metric monitor multiple fields?

I am trying to measure incident response duration by assignment group. I have a custom Boolean field named u_responded that I flip to true (via business rule) if we have responded to the incident. If the assignment group changes then I flip the field...

Resolved! Service Portal, can non-roles users see activity stream?

First-time Service Portal developer here. I started building it for our non-itil users and put a table with incident data that opens in a form view. One thing I haven't been able to do is get the Activity Stream (comments only) to show on the inciden...

Cort1 by Tera Expert
  • 2447 Views
  • 5 replies
  • 2 helpfuls

After Insert Business Rule not firing

I am trying to get an After Insert business rule to fire on the "sys_user_has_role" table. I have bigger plans in the future, but for the time being, I just want to see a log statement when a user gets a role. The problem is the BR isn't firing when ...

Community Alums by Community Alums  
  • 2290 Views
  • 6 replies
  • 0 helpfuls

Launch remote desktop (RDP) from UI action

I've been working with the new Cloud Provisioning capabilities within Calgary (which are very nice, btw) and found one item to be lacking.UI actions have been pre-built to allow a user to start, stop, or pause a virtual machine via UI action when rig...

jogmen by Giga Contributor
  • 1955 Views
  • 2 replies
  • 1 helpfuls

Rest Message returns null

I am calling a third party API with the help of Rest message.I have written the rest message script in a script include.That script include function will be called periodically using scheduled script execution.Mostly I am getting the response correct...

eswarijk by Tera Contributor
  • 3788 Views
  • 8 replies
  • 0 helpfuls

Resolved! How to make a reference field appear as dropdown list?

The Notification Messages table has a particularly interesting field called the Device field:It is actually a reference field, but instead of the user having to type in text to get possible selections, it just acts as a normal drop-down box.I've trie...

find_real_file.png find_real_file.png find_real_file.png
MG Casey by Mega Sage
  • 7844 Views
  • 9 replies
  • 2 helpfuls