Skip to content

Created a script to get the count of incidents by priority under each category. #1617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

vijaytalupula
Copy link
Contributor

Created below files as part this pull request,

  1. readme.MD
  2. code.js

Copy link
Contributor

@SapphicFire SapphicFire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, I have included some feedback to consider in the future

incCATGR.query();

while (incCATGR.next()) {
var cat = incCATGR.category;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't use this variable, and additionally should use getters to avoid relying on GlideElement casting

@SapphicFire SapphicFire merged commit c71bf3f into ServiceNowDevProgram:main Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants