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

Forum Posts

Resolved! Creation of approval records using script

I have created an script include to get approver sys_id and I'm getting too.below is the BRvar approvers = new csmCategoryApproval().getCategory(current.variables.category_cost);gs.info("approvers);if (approvers.length > 0) {        var gr = new Glid...

Hafsa1 by Mega Sage
  • 1082 Views
  • 1 replies
  • 0 helpfuls

cant submit request in service portal

On the Service Portal when submitting a Request an alert appears to contact the admin. Meanwhile, this appears in the logRoot cause of JavaScriptException: com.glide.rest.service.custom.errors.ScriptableServiceErrorJavaScript evaluation error on:(fun...

Does the NowLearning site have an API endpoint that we can use?

Does anybody know if the NowLearning site has any API endpoints that we can use?   The use case here would be to surface some relevant Now Learning courses for our users and track their progress through them, from within our instance directly. I know...

Craig22 by Tera Contributor
  • 796 Views
  • 3 replies
  • 0 helpfuls

Resolved! Attachment to the notification

I need a specific pdf document to be attached physically to the email notification when it's sent out. It shouldn't be a link to the pdf but it should be a physical file where the users can access the pdf without Servicenow access. How can it be achi...

how to import data in servicenow

I am trying to import data in alm_hardware table. but after transferring data the model component field is showing empty. i have mapped source field and target field correctly still facing issue. In excel I have many choices for model component and i...

Date field is not setting properly through script include

I am trying to update date time field in the project management task table. When I check the view xml of that record, date is showing as expected but when I see in the record value is coming different. I think issue towards the timezone but I am not ...

MihirY_1-1736264355218.png
MihirY by Tera Contributor
  • 809 Views
  • 2 replies
  • 0 helpfuls

in database view values for some fields showing empty

I've created database view connecting interaction_related_record and interaction table . It works fine for me but when other user entering this view he can filter out records with empty number but records that are left are showing no value which is n...

Resolved! Output of business days with holidays glideschedule

Hello, I'm trying to understand how business days work using the 8 - 5 weekdays excluding holidays schedule. I'm not getting the expected output from a simple test background script.   var startDate = new GlideDateTime('2023-07-03 20:00:00'); // 9 bu...

Mark Cummins by Tera Contributor
  • 1720 Views
  • 3 replies
  • 0 helpfuls

How to Review Tag based Service maps.

Context : Pattern based service maps have a "Send for review" button, which triggers a review task and process though which application owners review the map and add their comments. But for tag based maps this "Send for review" option is not availabl...

Community Alums by Community Alums  
  • 1127 Views
  • 2 replies
  • 1 helpfuls