We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! Workflow: Dynamic Task Creation

I have created a catalog item with a multi-row variable set.  For each item in the MRVS, I want to create a task.  Below is my workflow while it is running.  I have a 'loops' scratchpad variable that is storing the number of items submitted minus 1 (...

find_real_file.png find_real_file.png
kchorny by Tera Guru
  • 2979 Views
  • 3 replies
  • 0 helpfuls

Resolved! Display Value of a reference field in a UI action is not working

Hello, I have a UI action creating a knowledge article from a List View (so, you select 1 or multiple boxes on the list list view, and then there's the  menu option to create a knowledge article). I want the knowledge article short description to inc...

Sandy7 by Tera Expert
  • 3304 Views
  • 7 replies
  • 1 helpfuls

Create a toggle button

We are attempting to create a UI Action button that toggles all fields to be editable on what they currently are set. We have the code:var fields = g_form.getEditableFields();for (var x = 0; x < fields.length; x++) {    g_form.setReadOnly(fields[x], ...

jesterize by Tera Contributor
  • 2063 Views
  • 2 replies
  • 0 helpfuls

Resolved! Export specific fields to XML document and attach to record

I need to create a script which will generate an XML document from specific fields on a record, and then attach that XML to the record.  This is to make data on these forms meet a new data standard that our client has to use when sending XML data to ...

Resolved! How to call script include in widget client controller.

Hi All,Am trying to call script include in widget client controller. but am getting result value Null.Client controller :function($scope) {   /* widget controller */   var c = this;$scope.clearForm = function(){var url = $scope.page.g_form.getValue("...

Approval widgets saving comments more then once

Hi All, We had a requirement of adding comments for the approval being rejected, on the Approval widget on service portal. I came up with adding a textbox, on the widget for every approval on the form. This makes the reject button disable, until ther...

Component Formatters

Hi,I need to understand the working of Component type of Formatters.What I know it is used for variable Editor but How?Somewhere in the forum I find this information, Can anybody please explain..-------------------------------------------------------...

abhijats by Tera Expert
  • 2081 Views
  • 5 replies
  • 0 helpfuls

AMB_RECEIVE semaphores hitting queue depth limit

We have an external site that pulls KB data from our ServiceNow instance using table APIs.  We're seeing some intermittent errors where the connection is terminated.  While there are other potential areas of questionable behavior, one suspicion is th...

Tom Brown by Giga Guru
  • 2799 Views
  • 2 replies
  • 1 helpfuls