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

Forum Posts

Resolved! Duplicate workflow contexts firing

Has anyone encountered this scenario before and what was your resolution?   I haven't found anything on this using the search function.   I have a business rule that uses the startFlow method in the Workflow class to execute a custom workflow by name...

Darren Lau by Kilo Sage
  • 3088 Views
  • 4 replies
  • 0 helpfuls

Resolved! My Requests Service portal

At the top of the menu in the Service Portal is My Requests which show incidents and Requests.   How can I modify the default code which is below to show incidents and requested items instead.   My requirements are to show them where they can see the...

brianlan25 by Kilo Patron
  • 3699 Views
  • 7 replies
  • 2 helpfuls

Cost Center filter by Company & Company Code

I need to set a filter for the Cost Center field based on the Company in Company of the Contingent Worker field. IF the company in the Company of the Contingent Worker field has a Company Code of 1000 than only show Cost Centers with Company Code of ...

Screen Shot 2017-10-23 at 8.25.13 AM.png Screen Shot 2017-10-23 at 8.21.40 AM.png Screen Shot 2017-10-23 at 8.23.48 AM.png
lbless1 by Giga Expert
  • 3006 Views
  • 3 replies
  • 1 helpfuls

Auto-Close Incidents after Resolving

Hi Guys,My scenario is Description :As a user, I want to make sure old resolved Incidents are closed in a timely manner (7 days) so the teams can focus on active issues. 7 days - all priority except 0 and 1Acceptance criteria :Priority 2 to 5 Inciden...

saireddy389 by Kilo Contributor
  • 4511 Views
  • 3 replies
  • 0 helpfuls

Resolved! Dynamic sn-record-picker fields

Hi All,I want to create two reference fields which depends on other like user and task. When i select user then in task field only tickets raised by him should be visible.Also, providing a button "Add Row" if user clicks on this then new two fields w...

How to get the attachment from a specific ticket by api ?

I tried "api/now/v1/attachment/<sysid>" but got errors as   the statement below.{"error":{"detail":"Record doesn't exist or ACL restricts the record retrieval","message":"No Record found"},"status":"failure"}I am sure that the <sys_id> is right and I...

fandy by Kilo Contributor
  • 8717 Views
  • 5 replies
  • 2 helpfuls

What is the purpose of Validation Scripts?

HiI came across this System Definition > Validation Scripts. I want to know how these validation scripts can be used in my incident module time validations.Thanks in advance

mcclain by Mega Contributor
  • 10566 Views
  • 2 replies
  • 1 helpfuls

service portal Prevent SSO redirection

Hello all,Can any one tell me how to stop SSO redirection for external users?I have a widget cloned of OOB login widget. It was working fine, After upgrading to Helsinki patch12a. Not able to stop redirection.WidgetClient script:function loginCtrl($r...

Harish KM by Kilo Patron
  • 4512 Views
  • 9 replies
  • 1 helpfuls

Resolved! Begin Date to End Date duration cannot exceed one year

I have a need to make sure that the duration between the Begin Date and End Date does not exceed 1 year.I used scripting before to make a date go out to xxx amount of days, but never to actually do a calculation between Begin and End datesI don't hav...

Cupcake by Mega Guru
  • 7863 Views
  • 27 replies
  • 4 helpfuls

How to upload JS file

Hi All,Could anyone tell me how to use URL in JS include?what is JS url path?Regards,Sobitha K

find_real_file.png
sobitha by Kilo Contributor
  • 4088 Views
  • 2 replies
  • 0 helpfuls