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

Forum Posts

Resolved! How to convert integer value to Duration

Hi All, I need to convert integer value into Duration format and capture it in a Field whose type is also Duration.Scenario : I have a catalog form, which has the below variables :-  If any value is provided, in the 1st variable and the unit is selec...

find_real_file.png
Angshuman3 by Mega Guru
  • 7192 Views
  • 16 replies
  • 3 helpfuls

Resolved! How to call a system property on catalog client script or UI policy?

I have not written this before and fairly new to this approach on calling system property on client side scriptingand trying to understand how to call a system property on a Catalog client script?  I have defined a system property where the Value is ...

find_real_file.png find_real_file.png
Kirthi2 by Tera Contributor
  • 7241 Views
  • 6 replies
  • 2 helpfuls

How to generate refresh token from script?

Hello All, I setup OAuth with an external client and created a REST message. created a script include to check whether there is any existing refresh token, if the refresh token is not expired then looks for access token and validates whether it expir...

find_real_file.png find_real_file.png
pooja V1 by Mega Guru
  • 2261 Views
  • 2 replies
  • 0 helpfuls

Resolved! Unable to delete records from sys_user_has_role table

I have a custom requirement wherein we need to remove the itil role for the users who have not logged in from pas 9o days. Below is my script which is not working in a scheduled job. var gr1 = new GlideRecord("sys_user_has_role");gr1.addEncodedQuery(...

GlideRecord returns only the first record from the query.

Hello Team, I am trying to query the group member table and applied few conditions to check if user is only member one group. here, the expecting output is list of all the users member of only a single group, to achieve this I have written a script i...

msm4 by Mega Guru
  • 4672 Views
  • 8 replies
  • 0 helpfuls

Multi Row Variable Set - Dynamic Select Box

Has anyone had any experience in adding options to a select box within a multi-row variable set, based on information added to another multi-row variable set? e.g. MRVS1 has two fields, Type (pre-filled select box) and Name (string). MRVS2 has one fi...

Alex Ward by Mega Guru
  • 2787 Views
  • 5 replies
  • 2 helpfuls

Container split in not working in service portal?

Hi All,      Container split is not working in service portal.created varibel set with container start ,end  and split,it is working fine from catalog side.But when i open same catalog from service portal side,it is not working(not getting splitted)....

sam332 by Kilo Contributor
  • 9676 Views
  • 13 replies
  • 26 helpfuls

How to Create a Switch in Flow Designer

New to flow designer. First time trying to create some sort of switch. I have checkboxes on the request form. They can multi-select the checkboxes, but they need to route to different teams depending. So I will need some kind of join to have it wait ...

Pak by Giga Contributor
  • 2843 Views
  • 10 replies
  • 1 helpfuls

Resolved! How to insert Caller name in Incident template

Id like to create incident template for contacting customers.I want to insert customers name in "Additional comments" automatically,so entered as below, javascript:"Dear "+gs.current.caller_id.LastName() but the result is "Dear undefined".How can I i...

Kazu4 by Giga Contributor
  • 2507 Views
  • 6 replies
  • 1 helpfuls