Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

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

Forum Posts

How to get all parent services recursively using script?

Hi All, I am looking for a recursive script to get all the parent business services, here is my requirement there is sla definition on the business services, when we select that business services on incident form that particular sla will get attached...

Ksnow by Tera Contributor
  • 2113 Views
  • 3 replies
  • 0 helpfuls

Resolved! Currency fields

Hello all, How to calculate the currency fields: Capital Budget and Operating Budget and summed of these fields should show in the customized field i.e., Total estimated budget. For example: Capital Budget +  Operating Budget = Total estimated budget...

find_real_file.png
J P Rohini by Tera Contributor
  • 2323 Views
  • 6 replies
  • 1 helpfuls

Resolved! How duration field is being calculated in the incident form?

Hello all, @shloke04 @Ankur Bawiskar @Dan H  Can anyone explain me how duration field calculated in the incident form ? provide an example to understand better. I have referred a few docs and it wasn't clear for me. If possible please explain Busines...

Ksnow by Tera Contributor
  • 5327 Views
  • 7 replies
  • 2 helpfuls

Resolved! How to get duration for Task created to closed ?

Hello all,  I have a custom application, extended "task" table. i need to get the task duration, like from record created to closed, taken how many day. Refer to table below, there time data is all empty, how to make this available? Thank you.  

find_real_file.png
yandp by Tera Guru
  • 5635 Views
  • 5 replies
  • 0 helpfuls

Resolved! Confirm Box using client script

I have a requirement to compare change planned start and actual start. if actual start is before planned start, give user an option to select YES to continue or CANCEL to stop and not save. I create an on change client script but change does not cont...

ashaki by Kilo Expert
  • 29696 Views
  • 4 replies
  • 19 helpfuls

Resolved! Can a View rule hide the Default view from the list of Views?

Hello All, Lets take a table incident.Go to the list view i.e incident.list.Click on the context menu Views as showed in the screenshot.I would like to hide the default view from some users.Is it possible through view rule?If not how to do this. I ho...

Kumar60 by Kilo Expert
  • 8306 Views
  • 13 replies
  • 2 helpfuls

Resolved! Adding an "eventQueue" Action to Flow-Designer

Hi there,I'm relatively new to ServiceNow, just finished the fundamentals path and I'm on my first project.I worked as webdeveloper for many years, so I do have a quite good understanding of many programming languages and logics. Only a hard time som...

Resolved! Substitute for .replace

Hi i would like to know that is there a code or substitute for .replace? I got a Script Include which generate a PDF but i got a problem encountered it only replace one declared value and doesnt replace the same second variable. What method should i ...

find_real_file.png find_real_file.png
win b by Mega Guru
  • 4244 Views
  • 5 replies
  • 2 helpfuls

Resolved! How to restrict assignment groups based on role?

Hello, I need help on restricting users belonging to Legal Group from seeing other assignment group from the dropdown. For Example, Zackary Mockus is a member of Legal Group and Legal Group has sn_incident_write role. Any members who are in the Legal...

find_real_file.png
Radhika11 by Tera Contributor
  • 3629 Views
  • 4 replies
  • 5 helpfuls