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

Forum Posts

How can I see the active flow for a specific record?

I have a table workflow that is built through Flow Designer, but there is a issue in the flow where the record is getting stuck at a certain point. Is there is a way to look at the active flow that specific record and see exactly which subflow and wh...

Farah5 by Tera Contributor
  • 3839 Views
  • 2 replies
  • 6 helpfuls

Info Message not populated on the form

Hi All,I have created After Insert/Update BR, In that I have used gs.addInfoMessage(" "), but the info message is not getting populating. BR:(function executeRule(current, previous /*null when async*/) {var uniqueOutageSysIDs;if (getTableExtensions('...

Saranya2 by Tera Contributor
  • 2416 Views
  • 10 replies
  • 0 helpfuls

How to create templates with custom comment field?

Hi Community,Does anyone know how to create a template looking for variables present in the current record?For example, I would like to include the name of the caller in the template comment message as shown in the attached image.Thank you in advance...

Luiz8 by Tera Contributor
  • 1286 Views
  • 1 replies
  • 0 helpfuls

SN-Utils synchronization

I have run into an issue that I do not understand. The sync from VS code to SN "script development" works without issue for the custom application. But syncing from SN to VS code is creating a new file in VS code under dev124776 - any good advise how...

AndersSkovbjer_2-1674832373047.png

Client Script On Submit with Ajax

Hello community,I'm wondering if there is the best practise to 'Reject/Abort' submit action on the Client side with GlideAjax. The main issue is observing when we have to validate smth on Submit action. - We can't using methods the "getXmlWait()" any...

Alex150 by Mega Sage
  • 5160 Views
  • 3 replies
  • 1 helpfuls

Check if a user is already in a similar group

Hello I am developing a scoped application that is used to manage the work plans of employees organized in work teams. Each work team has multiple users assigned to it. However, a single user can be only in zero to one work teams. This condition shou...

Hendrik6 by Kilo Guru
  • 2930 Views
  • 10 replies
  • 1 helpfuls

Resolved! Variable visibility based on drop down selection

Hi, I am looking for a solution for the below scenario- When the number of containers is selected as 1, 2, or 3 specific variables should be visible as per the table below. I have tried with UI policy and also tried with catalog client script but not...

Piyush27 by Tera Contributor
  • 3827 Views
  • 5 replies
  • 0 helpfuls

Add hyper links to worknotes

I need to add hyper links in work notes from flow designer . Tried below code . It prints the following message, but not as hyperlink. URL works fine when I test this by pasting it in browser    var URL1 = "https://"+gs.getProperty('instance_name')+"...

pardhiv by Tera Contributor
  • 2608 Views
  • 10 replies
  • 2 helpfuls

Resolved! Incorrect dates returned by sysparm_query=sys_created_on

Hi, I'm getting the wrong dates returned from the "incident" table using this url:  https://company.service-now.com/api/now/table/incident?sysparm_query=sys_created_on>javascript%26colon;gs.dateGenerate('2023-01-01','00:00:00') I was expecting to get...

thedavegray_0-1674807796851.png

Outbound HTTP log -1 response status

Hi all,  I have a script include that executes a number of outbound HTTP requests in series. The ServiceNow Outbound HTTP requests log shows "-1" as the response code for one of the requests. I know this request has actually succeeded as the data im ...

Chrisdev by Kilo Expert
  • 1213 Views
  • 1 replies
  • 0 helpfuls

Resolved! Virtual Agent multiple queues

I have two service portals on my PDI. I created two virtual agent configurations, two greeting configurations based on portal name. Even though these greeting switching rules work as expected, both chats still write to the same queue! Service Portal ...