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

SAML ADFS first authentication SSO with error

Hi,I'm doing my first login to with SAML ADFS. When I login servicenow response with current error:userToLogin: failed_authenticationcould not validate SAML Response.more information:If I uncheck flag "Enable multiple provider SSO" (No value), in Mul...

GaetanoD by ServiceNow Employee
  • 2716 Views
  • 5 replies
  • 0 helpfuls

Resolved! How to pass a value into workflow

Hi I have done a very simple workflow which I am trigger using a business rule. Please find below my business rule, workflow.Business rule:(function executeRule(current, previous /*null when async*/){ ....................................................

find_real_file.png
kulshreshtha by Giga Contributor
  • 6142 Views
  • 13 replies
  • 3 helpfuls

Resolved! getDateFromFormat not defined inside client script

Hello,I have a question regarding the getDateFromFormat function. I need to ensure that the date entered is at least 7 days out from the current date this is what i have right now function onChange(control, oldValue, newValue, isLoading, isTemplate) ...

agarc657 by Giga Contributor
  • 8353 Views
  • 4 replies
  • 1 helpfuls

Create Child Requests

Hi ,I have a scenario as below.Can anyone help me:Scenario: When I create Request from Service Catalog I want to have child Request(Under Related Lists) generated to original Request on Insert.The Parent and Child Request should have RITM.Parent Requ...

Stop an onchange client script

I want to stop an onChange client script from running if variables on the form are empty.   However, when I check and uncheck the variable the onChange client script is running on, it does not work even when the variables are populated (email address...

Community Alums by Community Alums  
  • 5843 Views
  • 7 replies
  • 1 helpfuls

Resolved! Date Validation

Hi I'm using record producer with variable Date . I have to put validation that the date entered should not be less than a week.How this can be done?ThanksSnehal

Rest API Response in browser is always in XML instead of JSON

Am writing a simple scripted rest api to place order using cart API.The response in servicenow   rest api explorer is in JSON,but when i run in browser, it always shows up in xml, i have seen many others had this question and is unanswered.Amy pointe...

apaluri by Giga Contributor
  • 3657 Views
  • 3 replies
  • 0 helpfuls

Resolved! script includes and reference qual

Hi All,We have the below script includes which is used for an encoded query for a filter on a simple list widget on our service portal.I want to use the same script includes for a reference qual on a variable u_brands.   This is a reference field as ...

find_real_file.png find_real_file.png
Sam Ogden by Tera Guru
  • 2104 Views
  • 2 replies
  • 0 helpfuls

Resolved! Service Portal - Simple List - Incidents - View All

So I wanted to show "My Open Incidents" and "My Closed Incidents" to users on the Portal.   I created SImple List to do this, but I noticed if you click "View All" you get a screen where they can change the filter, click "New", and it has a Priority ...

find_real_file.png

Error 400 while POST request with JSON

Hi all,I am trying to send a JSON data through RESTMessage POST using the below steps:1) I have set ${content} in the content body.2) I have set http header 'Content-Type' as 'application/json'3) I have added 'content' in the variable substitutionsIn...

Resolved! Extract text from knowledge

Is there a easy way to extract the text from knowledge articles and wipe away the HTML tags as well? I am looking to convert or copy the knowledge articles HTML content to plain text.I have already tried getHTMLValue() but the resulting text still ha...