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.
Continue reading “Understanding and using inheritance in Script include”
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
Continue reading “How to generate Assessment using AssessmentCreation API?”
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
Using import set for populating CMDB is always a challenging activity. setting up the right coalesce field to your transform map makes this activity particularly challenging, correctly identify CI primary attribute is a key to reduce the risk of introducing inconsistencies through duplicate records.
Continue reading “How to apply IRE to import sets?”
In ServiceNow, email notifications are one the easiest way to inform user about a change that have happened to ticket or case. a frequent ask we receive as ServiceNow professionals is that our customers want to be able to click on link or button that shows newly updated/created ticket.
Continue reading “How to create ‘Take me to my Ticket’ button in email notification?”
Today I am writing again about AJAX – I actually wrote back in 2014 a blog post about this very same topic but it seems that I really like this topic so I thought to write about it again.
before getting into the weeds, quick recap of two concepts
Synchronous is real-time communication method where each party receives messages instantly and requestor needs to wait for the request to be complete.
Asynchronous is a communication method of exchanging messages between parties in which each party receives and processes messages whenever it’s possible to do so, rather than doing so immediately upon receipt. requestor immediately continues with its work without caring for the immediate result.
When to use GlideAjax ?
Continue reading “AJAX again”