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

Forum Posts

Resolved! How to check state of catalog task is Closed incomplete

Hi All, I have requirement in workflow as when task 1 is changed to “Close incomplete” state, a new task should be created. So in wf I have added following code to check state of task < answer = ifScript(); function ifScript(){ var task = new GlideRe...

Resolved! How to sum variables from a loop?

I have this table in an email notification using an email script that is populated via GlideRecord query. I want to take the “Total Amount” column and add it in the total. I have the “total amount” being populated by multiplying rate (gr.time_sheet.u...

find_real_file.png

Resolved! Send Survey to non-User

Hello all, Attempting to setup a customer sat survey for the HR module, however I have an additional email address the survey would need to be sent to. Some of the HR cases created will not have a "Requestor" (no user record) within SN, instead the a...

billi_lumley by ServiceNow Employee
  • 3305 Views
  • 7 replies
  • 0 helpfuls

Resolved! How to open url into new tab in agent workspace

I have written below code in ui action client script , it is working fine if but it is opening a link in new window outside of agent workspace but I want to open it in the new tab with n agent workspace only. Could someone help me how should I achiev...

Poorna7 by Tera Expert
  • 12574 Views
  • 28 replies
  • 5 helpfuls

Reference field in UI Builder

Just getting started with playing with UI builder and I'm looking to replicate some functionality I have built in the backend using a UI page. Basically the page will contain two fields, a reference field for selecting a record from a table (the tabl...

Aidan by Tera Guru
  • 3202 Views
  • 3 replies
  • 9 helpfuls

Resolved! Script include not working on public form

Hi all, I have a script include that is being called from a client script that logs a message so that we know when a public user that is not logged in accesses a form. It logs the message fine when I am logged in however when in an incognito window i...

Resolved! Setting and Reusing Variables During Import Transform

During an import, how do I set a variable once and reference it during other transform map stages? We have an import that 5 different scripts:     3 Transform Scripts: onStart (1), onBefore(2), & onAfter (5)     1 Field Maps script (3) to identify th...

MGanon by Tera Guru
  • 5125 Views
  • 4 replies
  • 21 helpfuls