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

Forum Posts

Resolved! oauth grant_type=code

Hi,i follow the article OAuth authorization code grant flow to get tokens initially i made request https://xxxx.service-now.com/oauth_auth.do?response_type=code&client_id=****534e4e81b7f and the response after allowing access to https://<callback-url...

Resolved! Need to help on pulling report of ITIL Users

Hello,   Can anyone please help me out how to pulled ITIL User reports ?   I created report on Sys_user_has_role table table with below filter conditions:   Role is ITIL, Active is True. Which is working fine but the problem is we are getting duplica...

Send email to own instance

We are trying to send an email to our own instance URL using a server script. This is for us to create an incident record even if a user is not logged in. We tried the code below however, the recipient was changed by ServiceNow to be same as the User...

JC S_ by Mega Guru
  • 5270 Views
  • 5 replies
  • 1 helpfuls

GlideDateTime - get hours, minutes and seconds

Hi all How Can I extract hour, minute and seconds from DataTime field? for example, I'm trying to write this business rule var gdt = new GlideDateTime ("2017-03-31 15:13:43"); year = gdt.getYearUTC(); month = gdt.getMonthUTC(); day = gdt.getDayOfMont...

Transparent nav-bar in Service Poratl

Hi Everyone,   I have a question related to Service portal. I want to make header transparent and all the menu items will diplayed on the background image.   Current Header:   So, i want to make transparent header and servicenow logo, Knowledge, Ser...

find_real_file.png
Murali19 by Kilo Contributor
  • 4496 Views
  • 8 replies
  • 3 helpfuls

Getting attachments via api and send them to Salesforce

Hi,I work on an integration between ServiceNow   and Salesforce using Dell BOOMI.I want to get Attachements from ServiceNow and send them to Salesforce.As described in this link: How to retrieve an attachment from service now ... | ServiceNow Communi...

yehiel by Kilo Explorer
  • 3445 Views
  • 5 replies
  • 1 helpfuls

Oauth token request to Sharepoint

Hello,I am trying to request a token from Sharepoint using Oauth 2.0. So I've setup in ServiceNow the Oauth application registry and the Outbound REST, but when I click the Get Ouath Token button, this is what i get back in the response Body: "The re...

Mihut by Giga Expert
  • 3078 Views
  • 6 replies
  • 1 helpfuls

How to fire Business Rule with an attachment?

I'm using an 'After - Update' business rule that checks the name of an attachment.The business rule works fine.The problem is that if they attach the file, the business rule on update won't fire unless they change a value in the form.How can I make t...

How to configure service now as IdP

HI,I am trying to configure ServiceNow as Idp. I wanted to log in to my website using service now credentials.The options I tried is 1-> SAML - But in that Service now only act as Service Provider, but I want Service now to act as Identity Provider2-...

vinodrd by Kilo Explorer
  • 1595 Views
  • 3 replies
  • 0 helpfuls

Resolved! Hide Custom Widget Button

Hello,After few researches I didn't reached the answer I expected about my question.My question is : How can I hide a custom button depending on my state?Context :I created few button (like UI action) on a widget I set on the OOB ticket form page on ...

find_real_file.png
vincentt by Tera Contributor
  • 6573 Views
  • 4 replies
  • 5 helpfuls

Parent Child Incident - Snow

Hi All,To achieve Parent Child Incident Relationship below steps are done(1) Activated - Incident_Parent Field in Incident GUI (reference Field)(2) Created a Parent Ticket P and 2 child Tickets C1 and C2. In C1 and C2 parent ticket field is populated...