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

Developer Forum

Hi Team,I have a requirement like this: We are booking passes one of our catalog item XYZ, in a week will allow to book 2 passes(ex: 2 users will allow to book passes) if 3rd user trying to book the pass on the same date system will not allow to book...

Resolved! Scripting on multiple coalesce fields in transform map

Hello, I have  a transform map where thereare 4 fields as coalesce. When i import any file, records get inserted/updated in my target table based on coalesce field mapping functionality of transform map. I do not want the records to be directly updat...

ruchi_jha by Mega Expert
  • 2893 Views
  • 9 replies
  • 1 helpfuls

Resolved! Mapping custom field with SCIM API

Hi Community, I am trying to consume SCIM API that comes from "SCIM v2 - ServiceNow Cross-domain Identity Management" plugin. Referring to documentation on "https://docs.servicenow.com/bundle/tokyo-application-development/page/integrate/inbound-rest/...

Alex Ng by Tera Contributor
  • 4244 Views
  • 12 replies
  • 4 helpfuls

Resolved! Call UI Script from Catalog Client Scripts

I need to run field auto-fill and validation for all catalog items.So I made a common UI Script.I try to call UI Script in Client Script but It shows this error message "(g_env) [SCRIPT:EXEC] Error while running Client Script "[Catalog Client Script ...

Joy715 by Tera Contributor
  • 2299 Views
  • 8 replies
  • 0 helpfuls

The Code Snippet not trigger the flow to every look up record

Hi Need suggestion. I do have a scheduled job which will run on specific time. The script will look up the RITM records on specific catalog item with 'Pending' state.It will glide date and compare to the 'access_granted_date' variable to check the ex...

Bird1 by Mega Sage
  • 398 Views
  • 1 replies
  • 0 helpfuls

Ctalog form added one more variable.

Hi Team, The below task was onboarding catalog request variable. Variable name:- Employment TypeChoices: -StaffContractor If Option 1(Staff) is selected then no need to display the below question. However if option 2 (contractor) is selected then nee...

Vamsi_Y by Tera Contributor
  • 321 Views
  • 2 replies
  • 0 helpfuls

Resolved! indexOf not working as expected

Hey Everyone,  I need an ui action to display only if the user is in the L2 assignment group and not the team lead 1, team lead 2, or manager.  Everything works until I try to use indexOf. It isn't working for the L2 assignment groups. Below is my sc...

Community Alums by Community Alums  
  • 1588 Views
  • 12 replies
  • 5 helpfuls

IndexOf() does not work in script include

Hello, I am writing a code in script include and need to check if my value has 'INC' in it, so I tried using IndexOf with -1,0,1 but it did not work with any of these. Also I tried using split and startsWith as well but it did not work. value is 'INC...

Rachael12 by Tera Contributor
  • 3193 Views
  • 8 replies
  • 0 helpfuls