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

Forum Posts

Resolved! Create GET Scripted API with JSON Request body

I wanted to create scripted GET API which will have a JSON in request body. I tried creating GET API however I found that I can pass data only through query parameters. Example API: GET "API Path" Request Body: { incidentNumner: "12345" createdBy: "a...

Sameer18 by Tera Contributor
  • 2232 Views
  • 2 replies
  • 2 helpfuls

get users from specific ldap ou

I am trying to get users from a specific OU and i found this Online Test LDAP server having a similar structure so i was trying to connect my PDI to this online test LDAP server - https://www.forumsys.com/2022/05/10/online-ldap-test-server/ Iam able ...

Resolved! How to set default value of user manager

Hi everyone, Could you please assist me how to set default value of a variable?I need user 2's manager to be the default value (Screenshot below)This script is only get user who is opening the form.Thanks in advanced for your assistance. javascript:g...

find_real_file.png
Kifrez by Kilo Guru
  • 3484 Views
  • 7 replies
  • 0 helpfuls

Resolved! Make Variable type 'Checkbox' mandatory

I have created a label and added 4 Checkboxes which each must be read and checked prior to providing an electronic signature for a particular Human Resources catalog item request.   Even though the checkbox variables are marked as mandatory, one is n...

pstifter by Tera Contributor
  • 10410 Views
  • 19 replies
  • 10 helpfuls

create a single score report with custom columns

Hi, I am not sure if this is the correct forum for the following Q. Has anyone created a single score report with custom columns? If yes can you please share how did you manage it, please? I know that I can get customized columns via the "cog" but I ...

rajeevj by Tera Contributor
  • 1224 Views
  • 4 replies
  • 0 helpfuls

Resolved! UI Macro to populate CI field

Hello everyone,I am trying to create a UI Macro, which when clicked opens a window showing the list of Configuration Items assigned to the user in the Caller field. When clicking on the CI, this would then populate the CI field on the incident form. ...

Russ T by Kilo Guru
  • 5284 Views
  • 15 replies
  • 13 helpfuls

GlideDateTime API: addDays and addMonths

Can someone explain the difference between the following functions in the GlideDateTime API? I'm failing to understand how timezones play a part in day, month or year adjustments. I've run some background scripts to try and see if there is any differ...

User173809 by Tera Contributor
  • 19238 Views
  • 3 replies
  • 7 helpfuls