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

Forum Posts

Resolved! Restart workflow from UI action?

I have a UI action that reopens the record from a close state to an active state and sets the status back to in progress. I would also like to restart the workflow, can someone show me how that would be written?Workflow Name = ConnectUsWorkflow sys_i...

Resolved! Object Parameters for getFlatQuestions();

part of my script: var set = new GlideappVariablePoolQuestionSet();set.setRequestID(item.sys_id);set.load();var vs = set.getFlatQuestions();for (var i=0; i < vs.size(); i++) {if (vs.getLabel() != "" && vs.getDisplayValue() != "" && vs.getDisplayValue...

mrswann by Kilo Guru
  • 4370 Views
  • 11 replies
  • 2 helpfuls

Resolved! User Impersonation report in ServiceNow Kingston

Hello folks,  I've come to take a challenge to build a reporting in system with user impersonation which will be used by Management to use in case any reasons may raise.    I have some investigation from ServiceNow Doc and noticed a sys_property can ...

find_real_file.png find_real_file.png
georgechen by Kilo Guru
  • 2010 Views
  • 8 replies
  • 2 helpfuls

Unable to change the view of a form

Hi, I have 2 views on "sys_db_object" table which is basically "Tables". The views are Default View and CI Definition View. I am unable to use CI Definition view. Please see Screenshot 1083. I have tried the following ways: 1. Configure --> Form Desi...

prudhvig by Tera Expert
  • 1980 Views
  • 3 replies
  • 0 helpfuls

Parsing complex JSON in import set transform map

Hi.Need some help here.I'm creating import set REST web service with transform map. Body of the request to web service should look like: {           "id": "rNP3Dd3By0",           "updated_at": "2015-03-20T22:55:54.972499+00:00",           "entity": {...

Resolved! business rule query active=true

Hello, I have a business rule with an advanced script. The BR is called by a reference type variable on a catalog item to filter the users only belonging to a specific group. BUT, I want to filter only on users that are ALSO active. I have tried addi...

Baggies by Kilo Guru
  • 2008 Views
  • 3 replies
  • 1 helpfuls

Resolved! g_form.setValue('box',true); doesn't work on service portal

This code is perfectly fine on Try it , but doesn't work on service portal variable 'box' is a checkbox    g_form.setValue('box',true);   doesn't work on service portal    I even selected UI type to be 'All' ; but still doesn't work on portal.

sonita by Giga Guru
  • 3783 Views
  • 10 replies
  • 4 helpfuls

Resolved! UI Page in catalog item

I have a requirement to create new Catalog item for finance team for expense reimbursement. One of the requirement is to create a table for users to complete their expenses in a table format. I was able to create UI page and added into the catalogue ...

find_real_file.png
attanhes by Tera Guru
  • 3981 Views
  • 4 replies
  • 0 helpfuls

How to use email script in quick message

Hi Team, My requirement is to put a hyperlink "click here" in one of the quick message. On click of which users should be redirected to a portal page. For this I am trying to create an email script which dynamically gets the current instance url and ...

rakesh241 by Giga Contributor
  • 3483 Views
  • 1 replies
  • 0 helpfuls