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

Forum Posts

Resolved! workflow scratchpad in if condition

I have a workflow in which i have 2 tasks(A,B) on sc_task table , if the task A is closed complete( state=3) then we need to store that value in workflow scratch pad  In task A in advance section I added "workflow.scratchpad.state1 = task.state;" and...

RudhraKAM by Tera Guru
  • 2918 Views
  • 12 replies
  • 2 helpfuls

Automatic software deployment via SCCM integration

We are looking for a solution to integrate our Software installation workflow (triggered from our Service Catalog in ServiceNow.We already use the SCCM integration plugin to get data about PCs and software from SCCM to ServiceNow.We now would like to...

Robin Chytil by Tera Contributor
  • 15605 Views
  • 12 replies
  • 2 helpfuls

Resolved! Display content in Multiline text

I need to display some content in Multiline text only when I select particular variable . Currently I have written a Script include and Cliet script for the same. In form level after i select specific variable the Multiline text field is getting disp...

shruthi17 by Kilo Explorer
  • 2848 Views
  • 14 replies
  • 0 helpfuls

Resolved! Can i update sys_created_on field value

Hi,   By any chance if i want to update the created on date how can i do that   I tried with below background script but it is not updating     var usr = new GlideRecord('sys_user'); usr.get("SYSID"); usr.query(); usr.sys_created_on = '2020-01-01'; u...

Service Portal, External Users and the snc_external role

Hello all, I'm creating a service portal to expose limited data to some logged-in external users, who have the 'snc_external' role. I have a page that uses the 'Data Table from URL Definition' widget to show a list of incidents. In order to make inci...

Jamsta1912 by Tera Guru
  • 3742 Views
  • 3 replies
  • 2 helpfuls

prevent update of a field in transform map

I have a field "Name" in a CMDB table. This table data is updated through a data source via transform map. I have a requirement to prevent update of Name through data source when it is manually updated by CMDB admin.  I have written the below logic i...

Developer3 by Tera Expert
  • 4083 Views
  • 7 replies
  • 0 helpfuls

Expand and collapse option for form fields

I want to add expand and collapse option for user for hiding and showing multiple fields on the form.  As below basic info added as annotation with this can we add expand option so "first and last name will shown" and if collapse then they will hide

find_real_file.png
Community Alums by Community Alums  
  • 3667 Views
  • 9 replies
  • 1 helpfuls

How to filter users based on a specific role?

I have user reference field and i want to filter the users with certain role.I was trying to use   Advanced reference qualifier Reference Qualifiers - ServiceNow Wiki from this article   but it`s not working javascript:"sys_idIN"+getRoledUsers("IN","...

Capture.JPG
nthumma by Giga Guru
  • 3499 Views
  • 4 replies
  • 4 helpfuls

Create a hyper link in email notification

Hello, I need to create hyperlink for my portal in email notification named as 'Portal'. There are around 25 notifications in which it needs to be added. How do I create? Do we have something straightforward like we have for instance :  ${URI}. Or wi...

Rachael12 by Tera Contributor
  • 2769 Views
  • 3 replies
  • 1 helpfuls