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

Forum Posts

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
  • 1065 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
  • 1377 Views
  • 6 replies
  • 3 helpfuls

Resolved! I want my UI action script to run in background.

I want my UI action script to run in background.hey, I want to check record from list and then use the ui action to approver them (time cards)the problem that im having that when I check couple of time cards and use the ui action it well take for eve...