Quantcast
Channel: ServiceNow Community - Development & Integration
Viewing all 423 articles
Browse latest View live

short description contens are not appearing on report

$
0
0

I have created a report in task_sla table. type of the report is List.
I have the requirement to add the short description column into the report.
I have added the short description column and I am able to see the short description column and its content.
However when the same report is opened by itil user, they are not able to see the short description content, thy can see only short description field.
Any suggestions would be great help.


Scripting / Query Optimization

$
0
0

Hi All,
I have a scripting / query optimization question.

I'm trying to speed up our before query BR which filters out Knowledge Articles so people don't see the 'items removed by security constraints'.
As our Knowledge Base is visible to our clients we have a somewhat complex security model, essentially I have to :

  • Get Articles For Company
  • Get Articles Public No Product
  • Get Articles For Company's Products
  • Get Articles For User Roles
  • Remove Articles Which Have Roles User Does Not
  • Remove Articles Not For Company
  • read more

Display grid or chart values on Custom Charts

$
0
0

Hi ya,

I am trying to create a custom chart which will include trends of both Open/Closed Incidents and Change requests displayed together. I am able to render the bar chart but not chart values. Has anybody tried to display grid on custom charts? Is this possible? Any pointers on this issue is much appreciated.

Thanks
Dharshini

Formatting a response to a REST call

$
0
0

I am creating an integration with a third party using JSON. The integration creates a record on thier incident management system. When we add a work note to our record, that particular journal record is sent to them to update their incident. When they post a comment to their record, that comment is then transmitted to us and is posted as a work note entry on our record. This is all working correctly.

read more

Phone notificatons

$
0
0

Does Service-now allow for calling a phone when an incident has been assigned to an individual. I know there are email and sms but was wondering about actually calling a phone number. We have times when we want a phone to be called for immediate response versus a text or email that would only get looked at when convenient...

Notification of impending Knowledge expiration (Valid to)

$
0
0

Hello,

I've been tasked with creating a notification that assists with managing Knowledge articles.

The customer would like a specific group to receive an email when a knowledge article's "valid to" date expires in 5 days.

Example KB0010001 is set to expire on July 1, 2013. It is now Jun 26, 2013. Group A will receive an email today stating that the article is about to expire.

read more

Passing Parameters to a report

$
0
0

I would like to be able to create a screen that I could pass parameters to a report. This could be a UI page or an application module. It seems like a basic need but can't figure out how to solve it. I thought I could create a gliderecord from a report and modify the selection. Been battling it for days.

Catalog Client script not loading in Variable Set

$
0
0

I have a variable set that appears on 5 catalog items. I have two catalog client scripts that set some of the variables in the set. The scripts aren't loading when the items with the variable set loads. I'm stumped. I'm not seeing any javascript errors in firebug as the page loads. I've gone so far as to create a new item with nothing on it but that variable set, and the scripts still don't load. Where do I look next?


Has anyone done an integration with HP Quality Centre?

$
0
0

I am considering building something specific but wondering if anyone else had already done an integration with QC

Is it allowed to add choice list even if this field already contains values?

$
0
0

Hi,
I have a question and I couldn't find any answer in the Wiki...
I've added a custom column in a table (type = string) and today this column contains values for many records.
BUT
Now I would like to add internationalization for this field...
Is it a problem if I add now a choice list for this field? (and I'll enter labels in 2 languages)
Thanks

Missing Workflow Stages

$
0
0

Hi all,
I have a workflow for the Request Management process in which the items requested do not show all the stages used in it in the Requested Items list. Once you request your Catalog Item, only the stages that are in progress or have been previously completed are shown in the stage field, and the other stages are displayed as long as you approve the new approvals created and advance through the workflow.
I want to show all the stages as "Pending - has not started" with the blank square as it usual once the workflow is triggered.

read more

Variable Editor in a UI Page

$
0
0

Hi,

I'm trying to use the Variable Editor component in a UI Page. Aparently this component, "com.glideapp.questionset.DefaultQuestionEditor", can be called from a UI Macro using this line <g2:render_component componentName="com.glideapp.questionset.DefaultQuestionEditor"/>
I only managed to make it work in a Task form as formatter, but not in a UI Page.
Does anybody know how can this be done?
Thank you in advance for your help.

Business rule not running

$
0
0

I have a business rule on the sys_user_grmember table that sets a users VIP flag to true if they are a member of the group 'VIP'.
Below is the after update/insert business rule:

if(current.group.u_vip_group){var gr =new GlideRecord('sys_user');
  if(gr.get(current.user)){
    gr.vip=true;
    gr.update();
  }}

This works fine if I manually edit the membership from that groups record, but if they are added via Active Directory to that group, the flag never gets set.

read more

Prevent user from approving their own request

$
0
0

I have a variable set that includes two reference fields 'caller_id' and 'manager'. I want to prevent the 'manager' reference field from displaying the same name that's in the 'caller_id' field. What script would I use in the Reference qualifier field?

How can i restrict users not to edit the fields in related lists

$
0
0

Hi,
How can i restrict users not to edit the fields in related lists.
for ex: when i click on All incidents, i got a list of all incidents and i dont want users to allow to change the field values at list level.
if they need any change, they should open the incident and make changes.
this is to restrict not all fields , but few.
can u pls help

Tx
Murthy


32 bit ODBC not working after install and produces errors about "msvcr71.dll"

$
0
0

Hi,

Should you encounter errors like
- "The program can't start because MSVCR71.dll is missing from your computer. Try reinstalling the program to fix this problem."when you try to make use of the ODBC in for instance MS Excel
- "[DataDirect][ODBC OpenAccess SDK driver][OpenAccess SDK Client]Failed to initialize the Service component." when you try to connect using iSQL

then add "C:\Program Files (x86)\ServiceNow\ODBC\ip\Java\jre\bin" to the system PATH variables.
In this directory the SNC ODBC driver needs to find the file "msvcr71.dll".

read more

Execute a Script

$
0
0

Hello,

Is there any way in which we can execute Scripts using a Script? e.g. like  exec() in JavaScript.

e.g. Say there is a Multi Line text on a table where the admin can enter the script like var gr = new GlideRecord("<>") and then saves the record, is there any way we can get that script and run in programmatically ?

Thanks,

CMBD integreation

$
0
0

Hi Sir/Madam,

I am trying to intergate the servicenow with 3rd party tool for CMDB_relationship type but i can't able to do successfully. its not reflecting thier but i tried with CI relationship is geting reflecting in the other instance.

Then while adding a Ci relation type manually it's get reflect in that instance but it's showing only a SYSID not generating the name of the CI

Can you give me a suggection for this issue.

Thanks & Regards
Udayakumar.S

Client-script: Iterate through the variable_pool?

$
0
0

Is it possible, client-side, to loop through all of the form variables (variable_pool) on a requested item form, with a view to making them read-only?

My approach in the past has always been to create an sc_req_item OnLoad client-script (one for each CatItem) and type out each variable individually (well, export vars to Excel, re-format into code & copy back), which is fine, but a bit long in the tooth & can come back to bite you in the future if a new variable is added to the CatItem and you forget to add it to the client script.

read more

Using parseInt in script but getting NaN result

$
0
0

I am writing a script to add a simple series of form data. I am very new to scripting, but this seemed pretty straight forward. Any thoughts as to what I did wrong?

//this script calculates the total amount of departmental allocations and only allows submit if total value = 100%

function onSubmit() {

var pc1 = parseInt(g_form.getValue('variables.hr_percentage'), 10);
var pc2 = parseInt(g_form.getValue('variables.hr_percentage_2'), 10);
var pc3 = parseInt(g_form.getValue('variables.hr_percentage_3'), 10);
var pc4 = parseInt(g_form.getValue('variables.hr_percentage_4'), 10);

read more

Viewing all 423 articles
Browse latest View live