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

Forum Posts

Alm_asset cannot access state or substate in a script

In "Scripts - Background" I pasted the code below the dotted line.   I really want to update the substate field but I see when I run the script below it comes up undefined.   Increasing the size of x does not matter.   I tried to do an update based o...

ppicazo1 by Tera Contributor
  • 91 Views
  • 2 replies
  • 0 helpfuls

SMTP with Oauth2 via office365

For a customer I am trying to setup outgoing emails via office365 using SMTP + OAuth2 authentication.The oauth authentication works.ServiceNow can connect to the serrver and deliver mails to office365.However the emails are not sent because office365...

why templates list not showing

Hi All,Kindly suggest me what might be the issue here.I have 4- response templates on Incident table.  can some one please let me know why templates not showing in list ?INC Template UI Action:  sn_templated_snip_message_template (OOB Ui Page)  funct...

chanikya_0-1757537895562.png chanikya_1-1757538021694.png

Dynamic Population of Lead Architect Select Box

The Lead Architect field should be populated dynamically with relevant users from the IT Architecture Chapter. Only active users with the title containing “Lead Architect” will appear in the list. The list updates automatically based on form changes ...

Role Management - Inheritance issue.

Hi,We assigned the image_admin role to the knowledge role. As a result, users who already had the knowledge role inherited the image_admin role.Later, we removed the image_admin role from the knowledge role. While the image_admin role was correctly r...

RamkumarThanga_1-1757512043965.png

Resolved! Dot Walking to a parent field within an HR Template

Good morning!  I am currently using an HR Template to generate fields within a Document task when it is created - I am now trying to add the parent/HR case "opened_by" field into this document task short description.  I figured I could do this via a ...

List Collector and Look Up User in Entra ID

Hi everyone, I'm trying to get a user list in a List Collector and pass to Look up User in Entra ID, to get the ObjectID of each user in the list to pass to the Add Users to Group in Entra ID.However, I'm hitting a roadblock. I'm successfully getting...

Screenshot 2025-09-05 at 14.45.40.png

Declarative Action to Open Form

Hello, I have a scoped app that has a tab where I created a declarative action as a client script.  I then added the script below in order to open a form.  The issue is that it not only opens the form with a tab next to the case, but I am also openin...

AnnetteKitzmil_0-1757010912276.png

add user to group spoke error in integration with azure

Hi, Am receiving this error when trying to add user to azure group {"Action Status": {"code": 1,"message": "Error: Forbidden Request. Please Check Oauth Token and scope permission. (Process Automation.b88d792d1bb1b510fb427c95464bcb7c; line 6)"}}Below...

AlekhyaD2093158_0-1750693550412.png

meaning and useful of the code

answer = true;if (GlidePluginManager.isActive('com.sn_cs_sm')){answer = new sn_cs_sm.ServiceManagementIncidentUtils().isValidCallerForIncNotif(current.caller_id.getRefRecord());}Could anyone please explain me what is the use of this code , this is in...

Geethika by Tera Contributor
  • 1124 Views
  • 2 replies
  • 0 helpfuls

Data load import issue

Hi, We are trying to load a set of data into Idea portal - ServiceNow SPM module.The load data and transformation shows successful and the "Import Set Rows" shows the rows are successfully created. However, the imported data is not showing up on the ...

SuneerS by Mega Contributor
  • 311 Views
  • 11 replies
  • 3 helpfuls