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

Forum Posts

Resolved! sys id not matching

Hi all,Im in the process of trying to import company details. However the source sys_id seems to match the target sys_id but when i check in the "companies" section, it seems to make up another sys_id.I have the following script:var name = source.u_n...

menoss by Kilo Contributor
  • 2730 Views
  • 6 replies
  • 0 helpfuls

New Survey Management Send After Every Incident

I'm running into all sorts of unexpected behavior with the new Survey Management in Eureka. I have a requirement to send a survey after every Incident and to have that Incident tied to the survey. I set it up to have the Incident trigger the survey w...

Resolved! Inbound email action to change incident state

We've gone in and configured the system to allow incoming emails but only via reply.   Now I'm faced with a different task.   We have a state on the incidents of Need More Information which will pause an SLA.   I need to add something that will chang...

Travers M by Mega Guru
  • 7762 Views
  • 13 replies
  • 2 helpfuls

Resolved! glide query for user who have roles

I'm trying to create a scheduled job that will search the user table for anybody that has a role so I can remove their roles if they have not logged in, in 45 days.   I wan't to search for the user having a role.   Is there any way to do a addQuery(h...

brianlan25 by Kilo Patron
  • 6725 Views
  • 4 replies
  • 1 helpfuls

Resolved! How to find where a field is being updated?

Hi,I'm trying to find out where/when a certain field is being updated.Its called 'Closed_at' and it logs a datetime when the end user closes an Incident.I just cannot seem to find out where/when its being updated.I've had this issue a few times and I...

ticket.JPG
porknan by Kilo Contributor
  • 3795 Views
  • 7 replies
  • 1 helpfuls

Resolved! How can I update a field on transform only if it is blank?

I have user information which is being pulled in from our HR system. Everything is working fine, but they want to be able to update their information in ServiceNow independent of HR data. So, for instance, if you want to change your email address, ph...

shembop by Tera Contributor
  • 4252 Views
  • 7 replies
  • 1 helpfuls

Resolved! Hide buttons on Glide Dialog Window

I'm trying to remove the circled section from a Glide Dialog Window. I know I can do this with DOM manipulation but I'm wondering if there is a SN method I can use to remove these?

find_real_file.png

Resolved! How to disable form focus for a specific form?

OK I know there is a system property to disable form focus:http://wiki.servicenow.com/index.php?title=Modifying_Form_FocusHowever, I don't want to disable it for my entire instance, just a specific form. (I'd like users to be able to scroll immediate...

MG Casey by Mega Sage
  • 4125 Views
  • 6 replies
  • 2 helpfuls

View Rules with Roles

Hi All,I wanted to share / get feedback on my solution to allow us to assign roles to view rules.We had situations where we only wanted view rules to apply to certain roles and we wanted none of them to affect Admins.My solution was to add a roles fi...

Shane11 by Mega Expert
  • 3910 Views
  • 3 replies
  • 0 helpfuls

Iterating through list of groups in UI page to check membership

Hi everyone. We are currently using a UI page with a script to iterate through a list of groups and then checking membership of those groups(in the form of sys_ids). The iteration IS working just fine. Just when I pass the value to the isMemberOf fun...

logan2 by Mega Contributor
  • 2010 Views
  • 4 replies
  • 0 helpfuls

What's wrong with isNil()

I have encountered scenarios where <variablename>.isNil() is generating an error saying "isNil() is not a function". Today I encountered a scenarios which was weirdest of all....I was working on a catalog workflow (creating from scratch), there were ...

Bharat23 by Kilo Guru
  • 3400 Views
  • 1 replies
  • 0 helpfuls

UI Policy on ListView

Hi folks, I have a question about UI Policy in ListView layout this time, and hoping you guys can help.     The UI Policy makes Manual SLA Date compulsory on the form when Manual SLA (a boolean checkbox) is selected.   This policy works well on the f...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
georgechen by Kilo Guru
  • 5754 Views
  • 2 replies
  • 2 helpfuls

SLA Schedule.... Include Vs Exclude

Hi All,I have a doubt in SLA Schedule.I have a Schedule "9*6 weekdays excluding IND Holiday". And in Child Schedule we have defined list of Indian holidays.Now my question here is, What should be the Type to exclude holiday.Do i need to give Type as ...

madanm7786 by Mega Guru
  • 4429 Views
  • 4 replies
  • 3 helpfuls

Empty email attachments

When an approval email is sent for change requests, we would like any attachments on the change record to be included in the approval email.   Checking the "include attachments" on the notification that sends the approval email does not work. I suspe...

find_real_file.png
rhofing by Tera Contributor
  • 2249 Views
  • 3 replies
  • 2 helpfuls