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

Forum Posts

Resolved! UI action to open in new window/Tab

Hello Experts,  I have created a UI action on story form (rm_story) to create test case (tm_test_case), which is working fine . Now I want to open that in new Tab of the browser , for that I used below code and it is not working . When I used Log it ...

Get the groups in reference field which the user contains

Hi, I have a requirement like ,I have a two variable in a form "Requested for" and " groups are" both are reference fields.When i select any user in "requested for" variable then in the "groups" variable it only shows the groups which the selected us...

Ashok32 by Tera Contributor
  • 989 Views
  • 3 replies
  • 2 helpfuls

Notification

I have to create a notification which triggers when the purchase order is ordered. The Purchase Order is created based on vendor, if two different ritm has same vendor then only 1 purchase order is created or if the two ritm has 2 different vendor th...

Conversion of Epoch

Hi All, function convertDateToEpoch(vDate) { epoch = ''; vDateTmp = new GlideDateTime(vDate).getNumericValue() / 1000; epoch = (Math.round((vDateTmp * Math.pow(10, 0)).toFixed(0 - 1)) / Math.pow(10, 0)).toFixed(0); return epoch; } //*...

UI action for adding members to group

I have a requirement for creating a UI action which should add users to the groups mentioned in the orignal description of the sc_task.how can we achive this functionallity?

List field with a lock in Record Producer

Hello everyone, I'm creating a new Record Producer for a custom form which has once field with a "List" type field.I'm not able to find List type field in the Record Producer.Please help me in configuring it and please let me know if there is any alt...

Abhi369 by Tera Contributor
  • 523 Views
  • 3 replies
  • 0 helpfuls

how to add single user to multiple groups

I have a list collector field group_access on a catalog item, i need to add a single user i.e requested for on the form to all the groups selected in group_access, how can i do it using script/UI action. I have used below script, but it seems not wor...

Resolved! How to add multiple conditions in reference qualifier

I have condition(javascript: 'u_full_name=' + curreant.variables.hostname_requested_for.name)   in reference qualifier.However I want to other condition like u_chassis=x^ORu_chassis=y^u_lsa_event_duration=10 in the same reference qualifier.How to ach...

Shahida by Kilo Contributor
  • 3402 Views
  • 5 replies
  • 4 helpfuls

Script to add users to a group

I wanted to write a script where we get each user from sys_user table and check if they have a manager, if yes, then add the manager to a group. Can someone help me with this.

Remove/Delete a portion of Worknote from a Service Request

Can we remove a portion of a comment or the whole comment in the 'Worknote' section of a Service Request. Let's say a user has put a worknote and mistakenly write the password in the Service Request and save the form. So, this worknote is visible to ...

CI Owner needs to be directed to CMDB workspace as default homepage

Hello ServiceNow champions, I am trying to do exactly what the title says. I attempted to create a UI script for this to no avail. Does anyone have any ideas on this requirement or can they check this code? Should I not use a UI Script and maybe adju...

DP10 by Tera Contributor
  • 501 Views
  • 4 replies
  • 0 helpfuls