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

Forum Posts

How can i script Contains("string") or matching

Below script don't works, what is de function contains in SN  if(this.rec.u_service.containg("SAM") && this.rec.u_subtype == ""){       allowed = true;       }Maby something like indexOfThanks!

alpha2nl by Kilo Explorer
  • 31545 Views
  • 6 replies
  • 0 helpfuls

Resolved! How do I run a cat command under sudo in a linux SSH probe?

I have a need to capture the contents of some files on Linux systems using Discovery probes.I succeeded in using "cat filename"   for files which are openly accessible.I now need to capture some files which are secured for root access.I'm trying to u...

HugoFirst by Kilo Sage
  • 7498 Views
  • 12 replies
  • 7 helpfuls

EVAL function in ServiceWatch

I see that there are many places where EVAL function has been used. I could not find anything in the ServiceWatch documentation about this. Can someone please help explain this function, its uses and use cases where I can use this with some good exam...

Ankush13 by Kilo Guru
  • 1474 Views
  • 3 replies
  • 2 helpfuls

Trying to create task from inbound email action.

I know it's not best practice but I am not the decision maker so.... rather than make our IT personal actually log in to Service Now and create a ticket, management wants them to be able to send an email to a person within IT, CC the servicenow insta...

How to use powershell transcript?

Hello,I am new to ServiceNow but I am trying to automate some AD account provisioning processes which require some advanced logic.   So I am creating a workflow which executes a PowerShell script to do all the AD queries, account creation, etc.   Whe...

Solarwinds Integration with ServiceNow Event Management

Hi, I am trying to integrate Solarwinds with ServiceNow event management. I am on Fuji version.As per Wiki, ServiceNow can only connect with Solarwinds Log and Event Manager for this integration. When I setup the Solarwinds connector, I give the host...

tarushgupta by Kilo Contributor
  • 2143 Views
  • 2 replies
  • 1 helpfuls

Ricoh Copier/Printer MIB Required

HelloI am having issues with the Discovery of Ricoh products. What I am looking for is a MIB file for all Ricoh copiers and printers. Ricoh was kind enough to send me a PDF doc and told me to make my own MIB file, as the MIB file they have was confid...

ssavage by Kilo Explorer
  • 12751 Views
  • 12 replies
  • 0 helpfuls

Resolved! Discovery Sensor

Hi All,I have buit a probe and sensor to a Linux Machine for Discovery purpose for disk space.Command used : "fdisk -l | grep GB | awk '{print $3}' | paste -sd+ - | bc"             Sudo : Required.Sometimes for a few machines we get the input from th...

ananthn by Kilo Contributor
  • 1782 Views
  • 12 replies
  • 0 helpfuls

Import ACLs tied to a role from one instance to another

Hello,I had a new developer accidentally delete the oob discovery_admin out of dev/test/prod about a week ago we just caught the error. I was able to recover it in dev, but not the other instances through the deleted records table. so I have the rela...

Nate23 by Mega Guru
  • 1636 Views
  • 2 replies
  • 1 helpfuls

Issue Viewing Encrypted Attachments

I have a user that has an associated role with an encryption context.   The user then creates a new record and attaches a file to the record and selects "Encrypt".   The record is then saved.   When the record is opened back up, and the attachment is...

tstocking by Tera Guru
  • 2537 Views
  • 3 replies
  • 0 helpfuls

Resolved! CMS - Change Font Color/Size in Jelly Script

I have been trying for a few hours now to change the font size (14 pt) and font color (#007CC3) in this script. No matter where I place it, the font continues to stay black and normal size. I have tried to figure out if the list (Navigational List) i...

Resolved! Not working getmessage option in catalog client script

Hello,I'm having trouble to get working a showfieldmesage in a catalog client script. I need to show an alert when a user is selected. This part is ok, but I need the message to include the name of a field. I'm trying to use getmessage() with an opti...

r_gissarl_ by Mega Expert
  • 3377 Views
  • 3 replies
  • 1 helpfuls

PowerShell - The WinRM client cannot process the request.

We are trying to execute the script below which creates a file or directory on the target CI:Invoke-Command -ComputerName ${activityInput.targetCI} -Credential $cred -ScriptBlock {Write-Host %%CreateDirectory%%New-Item c:\temp\${activityInput.directo...