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.

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

Forum Posts

powershell script is not working in flow designer

Hi Team,  This script is not working in the custom application: We are giving the user name.  Import-Module ActiveDirectory -WarningAction SilentlyContinue# Try to get the username from the environment variableif (Test-Path env:\SNC_userName) {$usern...

chandan2212 by Tera Contributor
  • 979 Views
  • 13 replies
  • 0 helpfuls

Restrict file attachment types in single catalog item

I'm trying to figure out how to write an onSubmit script to restrict attachment types to the following file types in a single catalog item using the built-in attachments icon (not the variable):pdf,zip,txt,doc,docx,dwg,gif,csv,xls,xlsx,ppt,xml,xsl,bm...

MonicaW by Tera Guru
  • 311 Views
  • 3 replies
  • 0 helpfuls

Regarding glideDateTime

I have a piece of code and in that script I want RITMs to autocreate on every 8th dau of month, I want it to run on 8th day of every month and if 8th day is a weekend it should skip and then run on Monday i.e. should only run on weekdays.But when I a...