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

Forum Posts

Resolved! Script works in 'Scripts - Background' module, but not workflow?

Hello, everyone, I am working on a script that automatically consumes. It works fine when I use the Script - Background module, but when I use it in a workflow, I get a different result. Basically, in the workflow, it takes the consumable and puts it...

find_real_file.png
CJB by Tera Expert
  • 3474 Views
  • 24 replies
  • 12 helpfuls

How to access previous value of "state" field in workflow

Hi All, I have a workflow running on HR payroll table . I want to set the "state" field to its previous value . How can I write in workflow . Below code i am using now, its seems not working  current.state = workflow.scratchpad.state;current.update()...

Roshani by Tera Expert
  • 1306 Views
  • 10 replies
  • 0 helpfuls

Resolved! What does this code means? ScriptInclude "CMSEntryPage"

The property "glide.entry.page.script" has value as "new CMSEntryPage().getEntryPage()" I checked the script include "CMSEntryPage". But it has a code which I am not able to understand. what does this code means?   <CMSEntryPage> var CMSEntryPage = C...

Asami by Tera Contributor
  • 2017 Views
  • 5 replies
  • 1 helpfuls

Resolved! Placeholder for String field on the From

Hello all, Could you please advise how to add Placeholder (Example text) to the field on the form in ServiceNow? I need something similar to Example text added to Variables?   For example I want to add to Description field to Incident form the follow...

find_real_file.png
Maria31 by Tera Contributor
  • 3887 Views
  • 5 replies
  • 1 helpfuls

Close browser tab when button is clicked

Hello everyone! I have a form button called 'Close'. My requirement is as follows: When the button is clicked, the browser tab should be closed. What scripting should be done for this in the UI Action, can anyone help me with this please? Thanks in a...

Resolved! Dynamically Add and Remove Users to/from Group

Hello, We are looking to set up a automated process to add users to a specific group and remove them dynamically once or twice a day. Group membership criteria would be: Active = trueLocked Out = FalseEmployee Type = Internal or ExternalEmail Ends wi...

Bruce11 by Giga Expert
  • 2280 Views
  • 11 replies
  • 3 helpfuls

Resolved! How to hide the Agent Workspace side panel by default

Hi everyone, Is there a way to hide the form/contextual side panel by default when a user opens Agent Workspace? We currently have Agent Assist, Attachment and Template options available for our users and Agent Assist always opens by default when ope...

Update child incident based on parent incident

Hi All, Need get all the filed values to child incident from parent incident. Child incidents also having child incidents, update field value only to child incidents under direct parent incident(parent-->child)not to child incidents which are under c...

Rishi32 by Tera Contributor
  • 2278 Views
  • 3 replies
  • 0 helpfuls