Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

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

Forum Posts

How to get variable value of requested item into client script

Hi all,I'm trying to do the following:I have a catalog item client script where I want to populate a field of this catalog item form with a value of a variable from a requested item.Hereunder is my snippet code:   //I set 2 variables to find needed ...

Hichem by Mega Expert
  • 4909 Views
  • 9 replies
  • 0 helpfuls

Work Orders

1) Can we create work orders for catalog items?? How??2) Can we create various tasks in work orders ??

Create Knowledge button on incident form

Looking for some help adding a Create Knowledge button on the Incident form. I know I have to create a UI action but have minimal JavaScript knowledge.   I'm hoping someone can share some code with me to accomplish this or show me which "create new" ...

sfoleygo by Kilo Explorer
  • 3445 Views
  • 2 replies
  • 0 helpfuls

Determining URL on UI Action condition

Hello,I'm trying to create an UI Action that only displays if the URL stack contains certain text.   IE, I only want this UI Action available if they were coming/going to a certain page.   I've tried using RP.getReferringURL() and gs.getUrlOnStack(),...

Zenoss Integration Steps

Hi Team,I have a requirement of ServiceNow- Zenoss Integration, for this scenario i couldn't get the clear idea in wiki and community as well so could you please share me the steps to be followed to done this Integration as well as please let me know...

narendrand by Giga Contributor
  • 3005 Views
  • 3 replies
  • 0 helpfuls

How to make Catalog Client Script Applies on all items?

Hi,I wrote a catalog client script and i need it to run on all items, without exception. The problem is in the field "applies to" witch need to be choose between the two cases: an item or variable set. I tried to create a client script but then I had...

guy by Kilo Contributor
  • 2685 Views
  • 5 replies
  • 2 helpfuls

What does RP.getReferringURL() mean

I have a UI action which has the condtion as (RP.getReferringURL().indexOf("active") != -1) &&(gs.getUser().hasRoles() == false)and in the related list called UI Action Visibility, we have restricted it to be visible only on self service view.Now as ...

Order Field Value

Hi,I would like to ask if there is a certain max value in the Order field because we have tried using values around 1000 - 2000 but it seem to not be working with that values.In this case, i would like to ask what is the maximum input value for Order...

blaize by Kilo Contributor
  • 5289 Views
  • 13 replies
  • 0 helpfuls

Only Last attachment to be sent in Email Notification

Our system is set up with Cases that are being worked and resolved (like an IT Incident). An Email Notification is sent out on case resolution that includes Close Notes the case worker types in. On occasion, there is also an attachment that needs to ...

awentz by Kilo Contributor
  • 5068 Views
  • 11 replies
  • 1 helpfuls

Resolved! Show task information within Survey page

Hello Everyone,I'm looking to find out if anyone has been successful at adding in any form of information from a task record which gets sent out by a survey trigger. Specifically what i'm trying to do, is put a bit of information into the survey page...

Resolved! When should I use "Incident State" in scripts/rules

I have found two built-in Business Rules which keep State (on the task table) and Incident State (on the incident table, which extends task) that keep these fields synchronised."Copy State to Incident State" has order=0 which means it runs first (sin...

johnsgp by Mega Expert
  • 4404 Views
  • 9 replies
  • 0 helpfuls

Update sets - Figuring out the change its actually making

My update set contains a "sys_ui_list_sys_script_null" Business Rule [sys_script]   - Modification, apparently. However I don't recall making any changes to such a thing. I tried pasting the payload into a XML viewer so its easier to view, but it's n...

chris_f by Mega Guru
  • 2847 Views
  • 12 replies
  • 0 helpfuls

Resolved! Cancel workflow with UI Action

I've got a requirement to be able to cancel a workflow at any given time during the time the workflow is active.I found this thread which gave me more or less all answers on how to do this.UI Action Cancel WorkflowWhat I need help with is that all op...

palmen by Tera Guru
  • 7704 Views
  • 17 replies
  • 0 helpfuls