Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

Resolved! Script Trouble- Not Returning Expected Result

I have an IF activity in a catalog workflow that is not giving expected results.answer = ifScript(); // function ifScript() { workflow.scratchpad.count = workflow.scratchpad.count + 1; var flag = 0; gr = new GlideRecord("u_database_terminati...

jlaps_1-1755095155578.png
jlaps by Kilo Sage
  • 544 Views
  • 2 replies
  • 0 helpfuls

Software Request from Catalog Item bugged

Hello, Has anyone encountered this situation: When trying to request a piece of software from a catalog item, using a drop down list containing the available ones, picking "other" which changes the form, and after completing the necessary  info, the ...

daniel_d by Tera Contributor
  • 405 Views
  • 2 replies
  • 0 helpfuls

Unable to resolve incident after activate HAM Pro plugin

Hi, Whenever I try to resolve an incident it's showing an error message - "To resolve this incident, Choose an asset action for each configuration item that includes an asset" How can I stop this?? Any script to inactive?  

SD4 by Tera Contributor
  • 9293 Views
  • 23 replies
  • 25 helpfuls

Resolved! g_user.getUserID() alternate options in Service Portal

Hi All, I want to get the logged in user in my client script which I will be running on a catalog item. This script should support both Service Portal view and Application view When using g_user.getUserID in client script, it works fine in Applicatio...

Community Alums by Community Alums  
  • 22764 Views
  • 5 replies
  • 10 helpfuls

Resolved! Adding hyperlinks in javascript

I have a workflow in which I need to add the Catalog Task's item description in script and include three hyperlinks within the text.   I tried doing it with HTML within the javascript but it didn't seem to like the quotation marks / apostrophes and i...

turnea by Mega Expert
  • 7754 Views
  • 5 replies
  • 4 helpfuls

Requirement to populate 'closed_by' field on change to system

Hi, I have a requirement to populate the 'closed_by' field on change with system in a customized flow where the changes in review state are picked up for auto closure after a specific no. of. days. Setting the 'Run as' property to System user leaves ...

Community Alums by Community Alums  
  • 259 Views
  • 1 replies
  • 1 helpfuls