A few days ago I saw a question on the ServiceNow community about how inheritance works in a script include so I thought to write a short article about that.
Inheritance is a great way to create a parent/child hierarchy of classes. A good use case for inheritance is when you wish to indicate that one object is mostly similar to another, but with some variations.
ServiceNow introduces Export Events [isc_export_event]table. The table stores export transactions that are performed by any user. The table gives information about what data is being exported, who exported the data, and when the data is being exported.
In this article, we continue exploring ServiceNow platform Security. have a look at part one if you missed it.
Every organization wants to ensure that their data is inaccessible for unauthorized users..even if unauthorized users gain access to data, they won’t be able to read it, that is where encryption becomes very important.
In some scenarios, we want to be able to generate on-demand assessments, that can be Service Portal or UI Action or Business rule
ServiceNow AssessmentCreation API provides a way to generate assessments via script. In the article, I am using createAssessments method to generate assessments via Service Portal Widget
first here is a quick explanation of the method parameter
AssessmentCreation.createAssessments (String typeID, // Assessment Metric Type Sys ID
String sourceRecordID, // Assessable Record which will be the source of assessment
String userID // users ID to which to send assessment instances to
ServiceNow has built-in antivirus scanner that scans attachment table for viruses and other harmful items. Antivirus scanning moves the file to quarantine and marks the file as unavailable if an infection is found.
Bulk Case creation scheduled job was completely disabled in Rome and has been replaced by Create bulk HR cases script action which is triggered by sn_hr_core.process_bulk_case_request event. The script runs asynchronously and you don’t have to worry about setting up the right time for the job
Employee Relation COE (sn_hr_core_case_relations) is no longer available, instead new customers are going to use sn_hr_er_case table which is sets in Human Resources Scoped App: Employee Relations [com.sn_hr_employee_relations] not in Human Resources: Core App. New Employee Relation provides a data model that supports tighter security and saves tons of work that usually spends on customization ACL or data segregations
like many ServiceNow pros, Semaphore comes to mind when there is a performance issue, however, Semaphore is much bigger than that. here I am trying to learn more about Semaphore.
What is Semaphore? according to ServiceNow docs and JVM docs, Semaphore manages and protects ServiceNow resources and limits the number of activities for a specific resource. Semaphore does that by controlling transaction queues in a first-in-first-out fashion(FIFO).
Every now and then I find myself debating with a friend or colleague on whether we should use ACL or Business rules query.
Personally, I think the use of business rule query should be minimised. if you think about it, ACL called ACL for a reason! your security admin is the only one who can change ACL where anyone in your organisation with personalize_rules role can play with a query business rule that can be integral to your team.
again, I am not saying never use query business rules , I am just saying it should be minimised.
Here is when you shouldn’t use query business rules
Your query BR is going to run on large table.
Your query BR might contain a lot of OR clauses or LIKE operator.
You are not concern about your instance performance.
In Quebec release, ServiceNow introduce new capability to enable users to insert multiple records into a staging table and trigger a transformation that is based on predefined transform maps in a single API request. In this post i am going to use the Insert Multiple REST API end point.
First thing, I am going to structure my JSON, I use company.do?JSONv2 to help me structure my JSON