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

Unable to export update set as an XML file

Hi,I am trying to export an update set as an XML file, but unable to do so. When i click the "Export to XML" link , it takes 5 mins to process the request and then a blank white screen appears.           1. Could it be because there are about 45k cus...

Automating role and group removal

Hello Team,I have been working on this today based on a current manual task i undertake weekly which is tedious.I have found lots of scripts that do similar things to what i need but not quite what i am after.I would like to run a scheduled task to r...

Phil O_shea by Mega Contributor
  • 4092 Views
  • 9 replies
  • 0 helpfuls

Can't see Dependent Field

Hello,     I created a new choice field that needs to depend on the Subcategory field that was already setup.   When I go to the definition page for the new choice field I see the Dependent Field seciton but it says Specify a field whose value is use...

Resolved! Client Script: Set time to date/time field?

I need to set the time portion of the field "stnd_req_date" which is a date/time field to the var "requesteddate" as you see below. The var "requesteddate" however is only a date field. Can someone show me how to set the time portion of the field to ...

Resolved! Display Form View based on roles wise

i have create one view with name " Emergecny" this view should be visible for only ITIL role users only.for that i have written View Rule script. but it is effecting to admin, it should not be effect to admin persons and other role persons , it shoul...

12.png 122.png
Kishore8 by Kilo Guru
  • 6109 Views
  • 4 replies
  • 1 helpfuls

How can i get and set cookie parameter in REST Message?

How can i get and set cookie parameter in REST Message? i have tried to use getCookies(), setCookies(), getHeader() but not able to get response properly... on trying getHeader("set-cookie") it gives the complete header value and i am not able to set...

Rimi by Kilo Contributor
  • 12548 Views
  • 13 replies
  • 1 helpfuls

Resolved! Function looks to return, but variable showing undefined

Hi all,I'm hoping someone can see what I'm doing wrong here. I am attempting to iterated through the xml field on the task_ci table to print the proposed CI changes in an approval email for Change Requests. I am trying to build a comma separated stri...

Resolved! can Ui action be used to call a ui page?

Hi All,I have a UI Page(xyz) which invokes a UI Macro to show few buttons on header and carry out buttons functionality.I have a UI Action created to incident page which shows as a link on the form.When i click on the link (created by ui action) in t...

surya123 by Mega Guru
  • 14631 Views
  • 16 replies
  • 6 helpfuls

Use break or exit in UI action

If the else block is executed, the function publishitem() will not run. Can this be achieved ?PFA snapshot as I am not able to copy paste the code.

Amit Pal1 by Tera Contributor
  • 7187 Views
  • 16 replies
  • 0 helpfuls

Templates in GlideRecord

Hi,Just wondering if anyone can please help out with my GlideRecord problem?I've not had a lot of experience with GlideRecord so hopefully this is quite simple, I'm basically trying to use a script to add the template's Short Description and Descript...

find_real_file.png find_real_file.png
richardwaugh by Giga Contributor
  • 3517 Views
  • 4 replies
  • 1 helpfuls