Skip to content

Add new instance check definition for gs.sleep #131

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

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

aswamy93
Copy link
Contributor

@aswamy93 aswamy93 commented Oct 9, 2024

use of gs.sleep will cause performance issues if used in any server-side scripts. If it is used in inbound email action, it can have critical impact on schedule workers

admin and others added 3 commits October 4, 2024 09:01
…d with the usage of setWorkflow(false) method in business rule
…() in server-side scripts and especially in inbound email actions
Add new instance scan check definition to avoid use of gs.sleep in server-side scripts
@niamccash niamccash self-assigned this Oct 9, 2024
@niamccash
Copy link
Contributor

Thanks for your contribution. I am merging this for now but you might want to consider developing an improved check. I noticed that your check only checks the Inbound Email Actions [sysevent_in_email_action] table and it would be nice to have a check that checks all server side scripts.

@niamccash niamccash merged commit 3b80700 into ServiceNowDevProgram:master Oct 9, 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