Wondering if there is a way to get the sys_id from the record that the formatter resides on via jelly other than doing the RP.getParameter method.With how the URL now appears, it is possible to have multiple sys_id's up there so a better method has t...
Basically just want to hide that tab, so that the individual records do not show when drilled into the details of the widget.Anyone been able to do this?Since we cant get to the UI page / Macro... any other way someone has figured out?
Has anyone been able to add a button to the header of a form? Not a UI action, but actually a Navigation Header button (in the location in the attachment); basically like the Attachment button.Any guidance would be helpful!Thanks
Just wondering, has anyone found out how to open a report with reportingv2 (fuji) still in the edit mode, but with the actual edit options minimized?i.e. to look like the attachment?Perhaps a parameter to be put in the URL or something in the system ...
Typically in an approval email which is sent out for sc_req_item type records, the approvers would like a quick glance at what they are actually approving.There are a couple scripts out there on the community which show you how to get those variables...
Not sure what you're asking for here. Are you looking to find VIT's affected by that CVE? If so, you could create a DB view between the VIT table and the CVE table keying on the Vulnerability itself.
Great article.
Another thing to keep in mind, this type of debugging will persist through the debug window / time wanting to debug something (i.e. potential influx of syslog entries, etc). What could also be used is property based debugging w/ levels...
Here is an example, not directly for change tasks on change requests, but the logic is pretty much the same. Instead of doing 'gs.hasRole('itil')', you would do 'current.type == 'standard', etc.
https://hi.service-now.com/kb_view.do?sysparm_article=K...
In the UI action, set the state value:
Server:
current.state = <value>;
current.update();
Or client...
if(typeof window == 'undefined')
updateState();
function updateState() {
current.state = <value>;
current.update();
action.setRedirectURL(current)...
Had to manually implement a after insert BR for Vul when we did this.
After BR w/ the following:
var strUtil = new sn_sec_cmn.SecurityTagRulesUtil();
strUtil.addSecurityTagByRules(current);
I'd double check the ordering on the after business rules...