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

Forum Posts

Resolved! Catalog Client Script not making field mandatory

Hi everyone,I have the following Catalog Client Script to make a field mandatory if a user has a specific role.function onLoad(){var user = g_user.hasRole('it_security');if(user == true){g_form.setMandatory('risk_comments_1',true);g_form.setMandatory...

stephaniet by Kilo Expert
  • 2281 Views
  • 7 replies
  • 1 helpfuls

how to retrieve view in business rule

Hi AllAnyway to retrieve view name in business rule? I tried current.view.name, view.name, sysparm_view.. but all cannot get the view. Anyone one can help?Thank you.

cc_lee by Kilo Explorer
  • 3690 Views
  • 9 replies
  • 0 helpfuls

Can we pass a parameter in gsftSubmit

Hi,I have created a UI Action of List Choice Type and have fetched the selected values in client script.Is there any way if I could use the same fetched values in my server side part of same UI Action?Can we pass the values in gsftSubmit?

harveen by Kilo Contributor
  • 3601 Views
  • 4 replies
  • 0 helpfuls

Resolved! Get the details of ignored records in transform maps.

Hi all,I was having 1083 records with me in excel,i want to update the data in alm_hardware table and don't wanted to create any new records.From the script if(action=='insert')ignore=true;i updated some records (like asset tag,acquistion method)and ...

kushi1 by Tera Contributor
  • 4325 Views
  • 2 replies
  • 2 helpfuls

hide activity stream

How to disable the Activity stream button on Requested Item and Catalog task across all views?

kss by Kilo Guru
  • 2356 Views
  • 1 replies
  • 1 helpfuls

Resolved! How to Check if a Journal field is empty

Hi,  I tried to check in a mail script and a business rule if a field of journal type is empty,  what is the best way to do it? does it different if i'm using "Journal Input" field?  thank you!

Resolved! Date should capture when the incident is resolved

Hi   All....on incident form i have to create a new field called "Last Resolved' on the Incident page which should capture the date when the Incident was last marked as resolved. Please help me in this.

manisha3014 by Kilo Contributor
  • 4161 Views
  • 25 replies
  • 0 helpfuls

Resolved! How to add my custom catalog to the self-service - service catalog ?

Hi CommunityI created a custom catalog and I want to add it to Self-Service -> Service Catalog in the application, that is to say, I want to see My Catalog when I click on "Service Catalog"   module, instead of the current "Service Catalog"Any ideas ...

find_real_file.png
lexdiaz by Giga Contributor
  • 1995 Views
  • 5 replies
  • 2 helpfuls

Resolved! How can I limit the choice list of a lookup select box variable based of the selection of another lookup select box variable?

I have two Lookup Select Box variables on a catalog item that reference to two columns on a specific table (Application Name and Permissions). These catalog item elements allow the requester to choose one Application Name and one Permission but have ...

Shant Cancik by Tera Contributor
  • 5963 Views
  • 5 replies
  • 3 helpfuls

Add user to Ad group

I have a requirement to add users to AD groups via ServiceNow Orchestration.   What is the best way to do this?   I thought it would be update AD object but i'm note sure what to put in Object data field.

Resolved! CI - Asset management

Hi, I was wondering what is the best practice to associate new CI to an existing asset, which has been already used in the past for a CI, but that CI got decommissioned. Example: A user is not using a laptop anymore so the asset goes to stockroom, bu...

andrashiesz by Tera Contributor
  • 1129 Views
  • 4 replies
  • 1 helpfuls