The CreatorCon Call for Content is officially open! Get started here.

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

Forum Posts

Resolved! Custom table script field execution inside script include

Hi, I've been trying to get GlideScopedEvaluator() to work, by injecting script from a custom script field into a script include. However, nothing works, except eval(), which should not be used for obvious reasons. What I'm trying to do:1. inbound em...

How to restrict the user to return to previous states?

Hello! I have a requirement that I have a state field which is a dropdown with different states. The idea is that when I change states, it doesn't let me go back to the previous ones. I thought about solving it with a business rule, but should I make...

Community Alums by Community Alums  
  • 460 Views
  • 2 replies
  • 1 helpfuls

Resolved! How to get table_sys_id or cat_item from sys_attachment table

I've created an "after insert" business rule on sys_attachment table and I need to take the sys_id of the table or cat_item to check from where an attachment had been sent(from each catalog item). I've tried with current.table_sys_id but it gives me ...

andreea4 by Kilo Explorer
  • 4041 Views
  • 4 replies
  • 0 helpfuls

Problem to convert sys_id of reference field into string

Hello everyone,my goal is to display the cost center of the current requested for automatically in the Service Portal.Therefore, I map the field cost_centers_clock (reference field) with the cost_center field from the user record in a client script: ...

Matki_0-1667553498522.png
Matki by Tera Contributor
  • 702 Views
  • 6 replies
  • 0 helpfuls

Display value for URL in List View / Report

Hello, I have been asked by a process owner to add a field to Project, which, when clicked from a report, would open a window of all tasks under that project. I have it figured out, but it's not pretty.  What I did was add a calculated field with the...

garyopela by ServiceNow Employee
  • 4761 Views
  • 11 replies
  • 1 helpfuls

Resolved! Converting to date format

While creating a transform map I wanted to create a transform script which accepts date as a string (20181025) and convert that to a date format in ServiceNow.

Misgun by Tera Contributor
  • 4955 Views
  • 2 replies
  • 2 helpfuls

Pass parent RITM values to child RITm

Hello All, Good day! I have one requirement in which i have to trigger child RITM based upon parent RITM variable selection. I have done that through script. Now in Parent RITM, there is field caller Site ID. I have to fetch value associated with Sit...

Sunil31 by Tera Expert
  • 553 Views
  • 2 replies
  • 0 helpfuls

remove computer from group in flow designer

i need to remove a computer from AD via flow designer. I need help creating and action and I try creating a similar action to the remove user but got a powershell error action created was  import-module "$executingScriptDirectory\ADSpoke\ActiveDirect...

Cherly by Tera Contributor
  • 829 Views
  • 7 replies
  • 0 helpfuls