Hi @jeansky You can mass close the incident and it will close the SLA itself, the only condition is that if you are doing it via script do not use setWorkflow(false)
hi @Kumaran ava ,You can use this script in Before Insert BR var gr = new GlideRecord('sc_req_item');
gr.addQuery('cat_item', 'ADD SYS ID of CATALOG ITEM');
gr.addActiveQuery();
gr.query();
while (gr.next()) {
if (current.variables.license_numbe...
Hi @Snehal13 API has already predefined error for timout so whenever the time exceeds 60 seconds the API will give an error for timeout. If you want to customize your error you can edit in your script (function run(request, response) {
var my...
Hi @Puneet4418 You can get email id from the email body by using following regex codevar content = email.body_text;
var emails = content.match(/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}/ig);
// Use the above varaiable to query user table and fetac...