We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Trigger custom approvals for Change Request

We have a requirement to add ability to add Change approvers manually to the list. Currently the approvers are generated to the group.Upon clicking the "Add Approver" button, the CR Manager should be able to manually add approvers to the change reque...

JDBC source help

HI All. We have created JDBC data source to fetch all site data store in a database.I have used the SQL Specific in my JDBC Source.We want to make on demand call based on the Site Name . Example :- SQL Statement  select siteid from   siteMap where na...

Resolved! Database join struggle

I'm working on a DB join and am struggling.On the Incident table, I have a 'cmdb_ci' field, for users to select a device nameOn a custom table, I just have a list of device names that are updated every Sunday I'm trying to view all Incidents where th...

sc.jpg

Need to map Payload field value to other fields

Hi All, We have a string field "Payload" in Incident form with the below Json value and we want to map this payload values to different fields in a scope table. Please let me how we can map this detailsSample payload value -{"description":" test"},"t...

Anandak by Tera Contributor
  • 992 Views
  • 2 replies
  • 0 helpfuls

Hard-Coded Strings - Bad - Use sys_property

Hard Coded solution: Since hard coded IDs are a no-no in Health Assessment scans. Instead, use the sys_property  glide.appcreator.company.friendly_name or use instance_name   var instName = gs.getProperty('glide.appcreator.company.friendly_name'); /...

BillBonnettSN_0-1735762237420.png

Resolved! Weird behavior in script

XanaduI have script that is called in the Service Catalog Item Workflow post approval. It is trivialvar details = "Requested Item Details:\n";// Get the current request itemvar grReqItem = new GlideRecord('sc_req_item');grReqItem.get(current.sys_id);...

Resolved! Send email to Teams

Hellow My friendsI have  a demand now,I needed to send a email to Teams channels, this email Include picture where is in Attachment[sys_attachment] Table.I had try base64,and cid two ways but all fall, I can't see the picture .Do attachments need to ...

Default Time Zone Is Incorrect

Hi,while writing a script concerning dates, I noticed that the default time zone that the ServiceNow shows appears to be incorrect. I tried to change it in the system settings but to no avail.did any of you encounter a similar issue? if so what did y...

How to attach approval in the Change Request table

Hi, In the Change Request table, I have a field called 'QA' (Choice type), When the QA field is set to 'Yes' and the state changes to 'Assess,' I would like to add the 'Database Group' for approval. I do not want to modify the existing flow or workfl...

HarikrishH by Tera Contributor
  • 1281 Views
  • 6 replies
  • 3 helpfuls