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

Forum Posts

Creating Change Request via Service Request

Hello Everybody,We would like to create a Change Request using a SR, is there a way to set change request fields using scripts. this is what I am doing.1. Creating a Task in workflow item.2. Setting up the fields using below scripts, there are fields...

Resolved! Menu condition in Service Portal

I am trying to have a menu item show up only for people in certain groups, which we identify by a parent group field. In the menu condition field, I can put javascript:(gs.getUser().isMemberOf('groupname')); if I want to only narrow it down to one gr...

cbester by Tera Contributor
  • 5159 Views
  • 3 replies
  • 4 helpfuls

Resolved! How to show UI Action button only after problem creation

Hello,Is there a way to put a condition for UI action to make the UI action button visible only after the problem is submitted. I have tried to use the state but state is still set to "Open" even if the problem is not yet submitted.ThanksVamsee

vamseeinala by Kilo Contributor
  • 3784 Views
  • 3 replies
  • 9 helpfuls

Resolved! Push Notifications

Hello,I'm looking into setting up push notifications for the mobile application in our instances and have run into two problems so far.1) There is no intercept for lower environments like there is for email. So if you clone your production instance d...

responseXML is returning null

I have a public page which makes a ajax call to service-now to obtain some information and return the result back to the public page. I have the below client script which works fine when using "responseText" to receive the server call, but always ret...

Admin Pro by Tera Contributor
  • 3540 Views
  • 2 replies
  • 0 helpfuls

Push and Pulling issues from Github

I'm wondering how this would be possible to do - just as a side project for myself to learn API integrations.I can easily retrieve Github issues by doing an API GET query to https://api.github.com/user/issues ; but is it possible to do this from Serv...

ben_tes by Kilo Contributor
  • 3034 Views
  • 4 replies
  • 2 helpfuls

Resolved! Do not insert if record allready exists

I have a requirement where i do not want to get a record inserted into a table if it is allready present.I have a form as follows:For each project code i will have to enter 12 month's amount, meaning For '123' project code i need to enter amount for ...

find_real_file.png

Auto populate current user and date to template

I have created a template as part of change management. I would like the template to automatically populate the following values:Name of the current user For the implementation start date add the current date/timeFor the implementation end date add t...

garethe by Kilo Explorer
  • 2858 Views
  • 1 replies
  • 0 helpfuls

Resolved! Reference field from a table gives Undefined value

Hello Everyone,I'm trying to query a table with a reference field with the following conditions:var sysID = current.sys_id.toString();var reqTask = new GlideRecord('u_request_tasks_definition');reqTask.addQuery('u_order', '>', workflow.scratchpad.cur...

Lyubomir1 by Tera Contributor
  • 3466 Views
  • 4 replies
  • 0 helpfuls

Resolved! How to show all tasks assigned in a single list

I have been looking for a way to set up two list views called My Tasks and My Group Tasks which will show ALL tasks from all modules in a single view such that I can see Change Tasks, Data Certification Tasks, etc in a single list view.Has anyone don...

Resolved! Import set table

Hi All,We have a datasource set up which runs and create new ISET num on daily basis in import set table.Is there a way I can query the import set table to get the latest one created by my datasource and then transform the data to a existing SNOW tab...