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

Forum Posts

Resolved! checkbox with singleline text beside

On catalog, how can I create a checkbox with single line text beside?   Mean like - checked - "Others, please specify", ___________

fei2 by Giga Contributor
  • 3545 Views
  • 6 replies
  • 1 helpfuls

Resolved! Notification error

Created what I thought would be a simple notification triggered when a status changes.   The notification is not event triggered, however "when field changes to".       Notification goes to two groups, watch_list and assignment group.   However, I ge...

Resolved! Help with CI Relationship Script

All,I am having trouble with my script.   I need to query the CI relationship table to only pull in the child application environment CI that is related to the Parent Application CI.Two field on the change form1. Configuration Item field2. Environmen...

Brett14 by Giga Expert
  • 5416 Views
  • 7 replies
  • 1 helpfuls

How can we get journal Field Value in client side?

Hi All,Please can you suggest how can we get journalEntyValue from client side.I am able to get it server side through getJournalEntry(-1) function. but this function is not working in client side. The code is below which is working fine in server si...

m_servicenow by Kilo Contributor
  • 3628 Views
  • 4 replies
  • 0 helpfuls

To get URL Parameters using Jelly

Hi All,I have the uRL as https://instance.service-now.com/Test/Test_page.do?sysparm_document_key=TestTable,b897c9c04f29d2006c29f5a18110c7ed The parameters in my Url are Tablename, sysid of the record.I want to write a jelly script so as to achieve th...

surya123 by Mega Guru
  • 4547 Views
  • 4 replies
  • 1 helpfuls

Resolved! email client template default CC active user

Hi,I have the email client enabled from the change_request table. I have started configuring the template and it's ALL GOOD!However, one thing I am unsure of - I want the person who is opening the email client to be CCd in by default (as they would t...

mrswann by Kilo Guru
  • 2499 Views
  • 3 replies
  • 1 helpfuls

Resolved! Querying "sc_cat_item" table

Hello SNCI am querying "sc_cat_item" table to display the items on a page based on Category sys_id.<g:evaluate jelly="true" >var grCatItem = new GlideRecord('sc_cat_item');grCatItem.addQuery('active', true);grCatItem.addQuery('category', grSC.sys_id)...

1.png 2.png New1.png New2.png

User does not see assigned Task

Hello.I just assigned a Task to user Joe in my service request workflow. However when user Joe logs into SN, he does not see Task or My Task under Self Service.What am I missing here? Does the user need a role to see the task assigned to him?Note tha...

pathat by Kilo Expert
  • 2934 Views
  • 9 replies
  • 3 helpfuls

Resolved! Why is a query string which works fine when I put it in via browser URL not working when being called from a catalog client script?

Using the following type of URL as an example:   https://[SN instance]/sys_user_list.do?sysparm_query=sys_idINjavascript:funcThatReturnsUserIdsCommaDelim(%27[test company sys_id here]%27).toString()I am using this guide more or less as a template:   ...

find_real_file.png
bcronrath by Kilo Guru
  • 3520 Views
  • 6 replies
  • 1 helpfuls

current.group is not available in write ACL

I have created a "write ACL" on "sys_user_grmember" table. In the script part, I am using "current.group" to query a table. But it seems that current.group is returning empty.Here is the script,gs.log('groups:'+current.group +" USER :"+gs.getUser().g...