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

Forum Posts

Insert comments by system in Busines rules

Hello, I have a Business rules in the approvals table, where I check whether the approving user has delegated their functions to someone else, if this is true they insert a comment, however I would like this comment to be made by the system and not b...

Rick Larson by Tera Contributor
  • 1369 Views
  • 1 replies
  • 0 helpfuls

Inbound Action Update a reference field from email body

I have requirements to create a project record once an @mention email is kicked out from smart sheets to a distro email which kicks off an inbound email action.  I can get the project record created however i'm trying to update a required reference f...

email sent.png project record.png location.png

Resolved! ACL creation through datasource

Hi All, I have come across a requirement to create ACLs through datasource. Details will be provided in excel sheet and based on that ACL records needs to be created.While working on this requirement, I was trying to populate value on Name filed in A...

Arun96 by Tera Expert
  • 1331 Views
  • 3 replies
  • 1 helpfuls

Resolved! how to use Scripted API and import set API in one integration

Hi Team, we are using scripted API to hit the endpoint of 3rd party, after we catch the response from 3rd party, we have to send that response JSON to import set API and in import set API  will parse that JSON parameter(ON before script) and insert i...

String by Kilo Sage
  • 2891 Views
  • 6 replies
  • 1 helpfuls

Resolved! Transform Script for LDAP group import

Hi All, I'm currently importing some groups from my Active Directory. For one group, the name in ServiceNow is different from the sAMAccountName in AD, and it is not possible to change it. I would like both to be synced together, so I write a Transfo...

Resolved! Is it possible to join two or more dabase views?

Good morning guys! Can you tell me if it is possible to join two or more database views into a new database view?For example, I have 2 database views and I need to join these two by creating a new database view.I am not able to do so, as it is now po...

Vinicius5 by Tera Contributor
  • 1868 Views
  • 1 replies
  • 5 helpfuls

How to send with rest message a form-urlencoded body?

Hi, how can I send these values ​​via rest message? key: client_id, value: 1234 ||key: client_secret, value: 5678?I'm trying to do this via a fix script in servicenow:  var r = new sn_ws.RESTMessageV2('rest goSign token', 'GETTOKEN'); var response = ...

Resolved! getUniqueValue how does it work to return users?

Hi all,  I have the following code which works as intended, but I don't fully understand why.  The function takes in a user, finds their manager and then returns a list of all the users said manager manages. Why/how does the code in red/bold return t...

gunishi by Tera Guru
  • 1765 Views
  • 3 replies
  • 2 helpfuls