Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Service Portal displaying Requested Item

Hi all,Trying to make it a bit easier for navigation between REQ/RITM for the end users via the Service Portal.Our users seem to have some dificulty finding their RITM details when they head into a REQ.   so I would like to edit the requested Items w...

find_real_file.png find_real_file.png

how to calculate normalized value of an assessment metric?

hi,can u please help me understand how assessment metric   normalized value are getting calculatedand i know this formula:Normalized value = (Input Value - Min value defined in metric) / (Max value defined in metric - Min value defined in metric) * c...

kambalapally by Kilo Contributor
  • 1751 Views
  • 4 replies
  • 0 helpfuls

Resolved! Change a Request Item Field Based on Approvals

Hello, I have a catalog item that sends an approval task to multiple people based on the role they selected on the form. So for example, Role A has Approver 1, 2, & 3 and Role B has Approver 4, 5. Only one person for each role needs to approve and af...

bdsibert by Tera Contributor
  • 3627 Views
  • 13 replies
  • 4 helpfuls

Resolved! copy additional comments to work notes

Hi All,   On incident table, I want to copy additional comments to work notes and delete the additional comments . I want to do this as one time activity so looking to write background script for this. I tried below script for one incident ( I need t...

Learn SN by Tera Contributor
  • 3663 Views
  • 8 replies
  • 8 helpfuls

hashmap in sciptutil

Hello All, I have a java code where I use hashmap to accomplish some functionalities. Now I want replicate the same in service now (scriptutil). Could you please someone guide me? thank you Regards, Bala

Bala19 by Tera Contributor
  • 3038 Views
  • 5 replies
  • 1 helpfuls

Resolved! Removing Users from group(s) via workflow Run Script

Hey all,I am working on a script for a Run Workflow activity and am stuck. Here is an overview:User submits a form on the Portal that creates a RITM. When they Select the option "Remove Access" another field pops up with a list of the current groups ...

Community Alums by Community Alums  
  • 6656 Views
  • 12 replies
  • 3 helpfuls

Populate "Requested for" and "Opened by" fields on RITM

Hi Friends, I have created a catalog item. There are 2 fields (both are reference fields referencing to USer table), Requestor (u_requestor) and Behalf of (u_behalf_of) on the form. When i submit that item, Request is getting created and correspondin...

vijay39 by Giga Expert
  • 3426 Views
  • 2 replies
  • 0 helpfuls

Resolved! Method to determine if an attachment exists

Hello community.  I'm creating a scheduled script that will copy an attachment from event to alert.  Is there a condition that can be included in "addEncodedQuery" that will determine if the record has an attachment? At present, I have - emAttach.add...

Scott Ness by Mega Contributor
  • 3115 Views
  • 3 replies
  • 1 helpfuls

Resolved! isMemberOf in client side

Hello Everyone, I've a requirement. In the change task form, i've to make state field as read-only, when the logged in user is not a member of the assignment group of the change task. I've tried with the below script include, var CheckNilfiskAdminGro...

Resolved! Add text to catalog item for Service Portal

I am still unable to add info text to a catalog item (more specifically in my case; Order Guide) that is visible when using the Service Portal.Does anyone have a suggestion for a work-around?A few versions ago, we used to be able to set an HTML field...

find_real_file.png find_real_file.png
scwillson by Mega Guru
  • 9750 Views
  • 8 replies
  • 5 helpfuls