Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ServiceNow AI Platform forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Resolved! Math.abs not working in onChange Client Script

I'm developing a client script in my PDI on the Incident Table. When a user changes the state to canceled (value = 8), then currency 1 field gets auto populated with the absolute value of currency 2 field. Screenshot below:Below is my Client Script t...

PhongLo_0-1707260971116.png PhongLo_1-1707261318189.png
Phong Lo by Tera Guru
  • 2506 Views
  • 13 replies
  • 0 helpfuls

Resolved! Unable to process 512 user account control

Hi,   When I create user account from Ad activity in orchestration it accepts only useraccountcontrol value 544. When I directly create user account in AD it is created with user account control value 512. Please help.    

Jay81 by Tera Guru
  • 2789 Views
  • 4 replies
  • 6 helpfuls

OAuth authentication for Inbound

I have a script include which calls out of box Service Catalog API (order_now), I want to use oauth authentication in the script to get the token.I have created OAuth Provider record in application registry and used it in the background script to gen...

guestee by Tera Contributor
  • 726 Views
  • 1 replies
  • 0 helpfuls

Issue with body of rest API script

Getting error as Javascript compiler exception: unterminated string literal  Script is below  var request = new sn_ws.RESTMessageV2(); request.setEndpoint('<apiURLhere>'); request.setHttpMethod('POST'); var payload="{ 'data': [ '<value ...

Snehal13 by Kilo Sage
  • 741 Views
  • 3 replies
  • 0 helpfuls

Knowledge Article Comment Widget

Hello All, Posting a comment with the new knowledge article comment widget in the portal results in the kb_feedback comments field containing html tags around the comment text e.g. "Test" will show as "<p>Test</p>" in the comments field. I understand...

Brendan13 by Tera Contributor
  • 2759 Views
  • 6 replies
  • 1 helpfuls