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!
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!
Has anyone implemented the vCenter to ServiceNow Integration for VM provisioning ,If so what are the challenges?
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...
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...
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...
Is anyone experiencing issues with Discovery spiking the CPU usage to 100% on a VM?
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...
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...
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...
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...
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...
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...
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...
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...
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...
User | Count |
---|---|
20 | |
10 | |
9 | |
7 | |
7 |