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

Forum Posts

Field validation and field error message

Hi ,I have three fields  on new record creation of service portal widget (data table from URL definition) entity, region, country name. I need to put  two validation on country name field are - 1) The 'country name' field Should not have duplicate va...

Shivi4 by Tera Contributor
  • 2305 Views
  • 8 replies
  • 0 helpfuls

Resolved! UI Builder, external components and "Events" tab.

I'm writing an external component and I'm going to add event mapping to this. I use this code in now-ui.json: ~~~        "xxxxx-datepicker": {            "innerComponents": [                "now-input",                "now-heading",                "n...

Resolved! How to calculate total months between a Start date and End date?

Hi,I am trying to calculate the Current Financial Years total months present between Start Date and End Date.Case 1:Start Date = 01/01/2022End Date = 12/31/2024Current FY months = 12 (i.e. Current year is 2023 so 12 months in 2023) Case 2:Start Date ...

Community Alums by Community Alums  
  • 1378 Views
  • 3 replies
  • 1 helpfuls

Resolved! How to compare 2 dates

Hello Teami am compare 2 date using business rule but it is not working. where am I doing mistake? 2nd, i am running below mention code before business rule and condition have type is normal. but Business rule is not working to get the plan strat dat...

Resolved! get inc number from sysid in servicenow using script

I'm using below code to create incident and  am getting sysid But I need inc number ,Please guide me  var createCase = new GlideRecord('incident');createCase.initialize();createCase.short_description='test';createCase.correlation_id='123';var sys=cre...

String by Kilo Sage
  • 783 Views
  • 1 replies
  • 1 helpfuls

GlideImpersonate is not allowed in Scoped application.

We have a requirement to hide the application from the users who are impersonating the custom application users with respective to the specific roles in ACL . But getting an error message that impersonation is not allowed inside scoped application.  ...

vidyabb by Tera Contributor
  • 2243 Views
  • 2 replies
  • 0 helpfuls

http query parameters dynamically

hii  i need to do variable substitution my http query parameter name is enclave_name and my variable name is enclave_name..if i give any value in script restMessage.setStringParameterNoEscape('enclave_name',  'tes123');mannually its working fine iam ...

shabbir9_0-1674478206388.png shabbir9_1-1674478206441.png
shabbir9 by Tera Contributor
  • 1547 Views
  • 3 replies
  • 0 helpfuls

Resolved! Is it possible to create dictionaries dynamically?

Hello Everyone, We have a requirement to allow users to create additional dictionaries on a Custom table. They will be able to set the type to one of the following: Integer, Select box, Date, DateTime, Multiline, Single Line of text. Then based on th...

dianemiro by Kilo Sage
  • 1595 Views
  • 4 replies
  • 1 helpfuls