User Activity

hi guys, the below script: var attachment = new GlideSysAttachment(); //Initialize GlideSysAttachment()var grCase = new GlideRecord('sn_hr_core_case'); // GlideRecord along 'sn_hr_core_case' tablegrCase.addEncodedQuery('numberSTARTSWITHHRC0001116'); ...
Hi guys, I have  script:  var gr = new GlideAggregate('incident'); gr.addEncodedQuery("active=true"); gr.addAggregate('COUNT'); gr.query(); var result = 0; if (gr.next()) result = gr.getAggregate('COUNT'); gs.print...
Dear guys, I have a quite simple setup:Widget: A - This is a "Form" displaying a record from a table, several fields, it can be modified Widget B  - A small widget on the right side of the Form page. Both widget contains recordwatch lines like:  spUt...
Hello guys, the requirements is quire seems to be easy: If an Alert has come - > create an Incident. If on the same day same alert comes - > Update the Incident. So, I have an Alert rule creates Incident (using the OOB subflow cloned version of Creat...
Hello guys, I have narrowed down a very big script which works 95% but there is a part I cannot fixed. within a for loop I succesfulye change the query for the same GlideRecord, but the result is the same.  In the script, In an object I have to CI el...