Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

Resolved! g_user.hasRoles question

Running code below in a client script on form, not on a record producer.  The user has no Department or Division role, but does have a Unit role. alert ("Starting"); var gUser = g_user.userID;var Reviewer = g_user.hasRoles('Department','Division'); v...

Resolved! Dot walk to Glide List field to generate Report

Hi All, In my instance there is a customised table called Applications and it has got fields as Expert, which is glide list and allows more than one user to attached. Now, we are trying to run a report to find out which Expert's user is no more activ...

manish123 by Giga Guru
  • 1675 Views
  • 3 replies
  • 5 helpfuls

Switch condition in workflow

Hi Team,I have variable of type "multiple choice" in that i have three values.Based on the selection of the multiple choice" it should move further.I am using switch condition in work flow,to represent it.The flow got stuck in the switch case.please ...

navyag by Kilo Contributor
  • 3348 Views
  • 5 replies
  • 0 helpfuls

Resolved! Else if condition on Workflow Editor

Hi all,  I am trying to create a customized if activity in the workflow but it keeps returning 'no' instead of the values that I designate in the script.  This is the script I have in the activity: answer = ifScript(); function ifScript() { if(curre...

find_real_file.png find_real_file.png

Report List searchable

Hello everyone,i've created a report on table sc_req_item of type list to display specific variables of a specific requested item.Now it should be possible to search a variable/short description field (type string). Is there any possibility/idears? A...

chs by Tera Contributor
  • 1491 Views
  • 1 replies
  • 0 helpfuls

Flow Designer - XML Parser returns null output

Hi,I created 2 PDI's to test and understand how the integration between instances work.I created a custom table on instance 2.Instance 1 I created a custom action and a flow. Credentials are correct and so is the endpoint, but I keep getting this err...

SC17_3-1668282105642.png SC17_0-1668282008136.png SC17_1-1668282028190.png SC17_2-1668282039822.png
SC17 by Tera Contributor
  • 560 Views
  • 1 replies
  • 0 helpfuls

GlideRecord object has empty objects if stringified

Hi, I am trying to understand GlideRecord API and I have used the below code as a background script, for testing: var incidentGlideRecord = new GlideRecord('incident');incidentGlideRecord.get('552c48888c033300964f4932b03eb092');gs.print(JSON.stringif...

haz0r1337 by Tera Contributor
  • 1740 Views
  • 2 replies
  • 1 helpfuls

Resolved! Copy the choice values to string using ui policy

I have a table with 2 string fields as field1 and field2, and I have 2 choice fields as field3 and field4. Now when we make any changes in filed3 and field4 it should be copied to field1 and field2 respectivey. How can we do this using UI policy?Than...

saini by Tera Expert
  • 1071 Views
  • 4 replies
  • 1 helpfuls