Resolved! Get dateTime in seconds
if I want the datetime in seconds it is correct to do so: reqBodyPerson.dateOfBirth = new GlideDateTime(current.u_start_date_contract).getNumericValue();
Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent. Join the Challenge.
if I want the datetime in seconds it is correct to do so: reqBodyPerson.dateOfBirth = new GlideDateTime(current.u_start_date_contract).getNumericValue();
Hi Everyone, I’m just about to schedule hundreds of recurring monthly maintenance jobs, where I would like to have the dozens of tickets for each location set as tasks under each region. ie. One region has many locations that need maintenance each mo...
Hi, I have created a Scripted REST API to insert data from 3rd party to ServiceNow Vendor Contact table. I got another requirement to check for the "first name", "last name" and "email" which should not be empty. If these fields are empty then that r...
Please let me know is there is any way to find the respective variable used in all the script including run script.
Hello - Any idea where reopen incident button should appear when you open resolved incidents? on portal or fulfiller side? Because i do not see it on resolved incident.
how to display popup message in catalog item hostname(one of the variable in catalog) if host name contains less than 12 characters popup message should display host name should contain atleast 12 characters @asifnoor
I want to remove the instruction (*indicates required) from the service portal when opening catalog item in portal, Please check the screenshot.
Hi All, Actually i have a requirement that we have two fields caller and logged user, So whenever i request a incident on behalf of someone i need to sent email to caller? 1.And here two conditions are there like if caller and logged user same then w...
I wanted to filter out the active groups with no members and roles. I navigated to sys_user_group and when i tried out the filters, i could get the active groups with no members. But i cant filter out the groups with no roles. I tried the filter 'Gro...
Hi All, I am facing issue where Background script having setWorkflow(false) isn't updating the worknotes of the incident. Below is the script, var inc = new GlideRecord('incident'); if(inc.get('problem_id', <sys_id of the problem which is related wi...
Hello, I am trying to modify the existing script from GlideRecord to GlideAjax in OnChange Client Script. Below is the Code. function onChange(control, oldValue, newValue, isLoading) { if (isLoading || newValue == '') { return; } ...
Hi all, How to get list of roles belong to the user in drop down in catalog item? Please suggest me the script include and catalog client script to achieve this requirement. Thanks
Hey guys, I'd like to post a message in form of a customized card to a specific MS Teams channel whenever a knowledge article is created/updated. I tried doing so in flow designer/integrationhub (starter package/MS Teams spoke) using a webhook url. ...
Need to change the date format to DD-MM-YYYY. I am having one variable Leave date in that there is by default YYYY-MM-DD.Need to change it to DD-MM-YYYY Please find below ss and guide me in this.
Hi, We have this table for requests and it's not extending to any table. I'm trying to get the activity logs appear on our service portal showing all the changes that happened to a specific request and should have the same look as the OOTB Ticket Con...
| User | Count |
|---|---|
| 44 | |
| 17 | |
| 9 | |
| 9 | |
| 9 |
