We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Forum Posts

Resolved! How to get row count and print number of records in a glide query

Posting this code thinking it might be usefull to anyone: i have 5 incidents satisfying the below query I wanted to write a back script to get number of records satisfying  below query var inc = new GlideRecord("incident"); inc.addEncodedQuery("activ...

vahini by Giga Guru
  • 4736 Views
  • 1 replies
  • 3 helpfuls

Resolved! How to modify SC Category page to display all catalog item?

When opening the SC category page on portal, by default left side categories is shown by clicking one category, catalog items will display. My requirement is I don't need Categories, it directly need to display all Catalog item. Please kindly advise ...

Akshaya5 by Tera Contributor
  • 2883 Views
  • 4 replies
  • 2 helpfuls

Resolved! How to publish KB articles with a script

I need to publish multiple KB articles, what is the best way to do this with a script? I have a scheduled job that creates KB articles and I need these to be published straight away so that they can be viewed.

Resolved! how to grant users access to a table

Hi Everyone,I created a table (pm category) so I could use a list collector and I can access the list values without any issue. However, when I impersonate a user (with ITIL) they can't see the options. I also made sure there was an acl with access. ...

access control.png ListCollectordev1.png Category2.png Category1.png
Gemma4 by Mega Sage
  • 7274 Views
  • 5 replies
  • 2 helpfuls

'Follow' button code

We are attempting to create a new 'Submit & Follow' UI action to be used on Incidents to allow users to do both things in one go instead saving and then pressing the button. Adding to the watch list on insert is easy enough but they would also like t...

Joe B2 by Giga Guru
  • 1380 Views
  • 3 replies
  • 1 helpfuls

Resolved! Data source pagination with non-sequential response?

Hi all, So I'm working on an integration from an external service, and the pagination is not as you would expect it. Instead of sequential (i.e. return 100 results, offset set to 101, return from 101-201, offset set to 202... etc.), it's the next "ID...

NWTMark_0-1687775837809.png
NWTMark by Tera Contributor
  • 2163 Views
  • 3 replies
  • 1 helpfuls

Resolved! Notification to the manager of a group with Flow Designer

I have a requirement to send a notification to the manager of a group within a service catalog request.  Could you advise how best to achieve this with Flow Designer? I have tried Send Email with a scripted to field with the below script however, whe...

ClareM by Tera Expert
  • 2362 Views
  • 5 replies
  • 1 helpfuls

Resolved! Timer in workflow based on variable

I am trying to add Timer in the workflow and trigger 7 days before the return date. I tried "A date/time or Duration field" but the variable field is not available to select so I guess I need a script. Also, I went through a lot of posts but unable t...

GB14 by Kilo Patron
  • 4224 Views
  • 12 replies
  • 3 helpfuls

Display UI Page on State Resolved on List View.

I want to display a UI Page when user tries to change the state to 'Resolved' on List View. Once the user clicks on 'OK' Dialog button then the values that are selected in UI page form should should get updated on RITM record  along with state to "Re...

UI Policy not working in service operations workspace

Hello All,   i have tried resembling the fields and form appearance of default changeview  into Service operations workspace . UI policy like 'mandatory assignment rule, mandatory worknotes' etc are showing in both default and SOW view , but for an A...

bhupendrapareek_0-1687804221964.png

Resolved! How to find active departments that users are member of?

Hello, I need to find the "active" department that users are part of. I tried the following code but the answer is null. Could someone help me ?var deptArr = gs.getUser().getUserByID('sys_id').getDepartmentID(); var myDept = []; myDept.push(deptArr);...