g_user is not working. WHY????
Hi All, my Onload script is not working. Please help function onLoad() { var a = g_user.userID.email; alert("Result: " +a); } I am getting result as Undefined.
Hi All, my Onload script is not working. Please help function onLoad() { var a = g_user.userID.email; alert("Result: " +a); } I am getting result as Undefined.
Hi Need help how to create email rule so that if any ticket or change is assigned to Team A it should go to a particular email or DL they have ? Manager of Team A has asked us to configure all; alerts from service now to come to a particular email o...
I am reviewing the release notes for Rome and noticed that there is a new feature called Employee Center. It looks like we are being recommended to migrate to EC instead of using Service Portal. Is the Service Portal going away? If we don't migrate t...
HI, The below is my query for a table to update record via fix script or background script. var gr = new GlideRecord('fm_expense_line');gr.query();while(gr.next()){var currentDesc = gr.getValue('short_description');gr.setValue('short_description',c...
Hi Folks, We are starting to build out our CSDM, largely based on this post by @Venni Mäkäräinen, and I have a question: We have different types of Business Applications (e.g. Lab Systems vs. Enterprise Applications) - is there a good way we can ta...
Good morning, we have a catalog item in which we need to use opened by as a variable due to some approvals needed. The problem i'm having is that when we switch the opened by variable on the form, the opened by field on the RITM (see attached) stays...
Hi, When i submit a request in service catalog the request stage is not moving to complete after the request and request item is moved to closed complete. i have modified workflow and added run script for moving the stage to completed but still not w...
Hi, I want to add user ABCD to work notes list and E in watchlist for a request if assignment group is X or Y I'm using the below script current.watch_list="sysid of E".toString(); current.work_notes_list=="sysidA".toString()+","+"sysidB".toString()+...
Hi Team, i have created customer changes record producer for change req mgmnt i have created a catalog client script to load put some values i have written alert to check that script is reachable or not i found issue with some users and a patter...
Hi All, I have a requirement to create a parent incident on the basis of child incidents selected in the incident table by clicking a button in the banner with many to one relation(i.e. for multiple incidents selected one parent incident to be create...
Hi all, We have a notification set up to notify users that they have been added to the watchlist, which sends the to the watchlist group. However, when an additional user is added, it sends the notification to everyone on the watchlist, even if they ...
Hi All, I have Requirement , How change state value using UI action button . i have design workflow, in HR state If condition is there . Card is needed if its "Yes "state has to go amex Admin state value 6 its is "No" state has to go master adimin st...
Hi Team, I want to hide form sections based on the condition. we have created 2 form sections, both the form sections has certain fields, and fields with mandatory too. Now, when i try to hide the form section using g_form.setSectionDisplay('<form s...
I have a requirement to hide section without condition - can I achieve this through a UI policy? I tried this option no luck.. On the When to apply tab, add your conditions. On the Script tab, select "Run Scripts" then enter the following Execute if...