Hactober fest 2025 (9th pull request)#2539
Hactober fest 2025 (9th pull request)#2539prashantmrshine wants to merge 10 commits intoServiceNowDevProgram:mainfrom
Conversation
Atul-LNG
left a comment
There was a problem hiding this comment.
Hi @prashantmrshine
A few questions:
Based on my experience, fulfillment work usually happens on the Incident or Change, not directly on the CI. So how can we identify that a CI has been worked upon?
If the last assignee is no longer active or not part of the group, could you please optimize the script a bit more to handle that scenario?
|
Hi @Atul-LNG You are getting confused, things are executing in incident only, and optimized the script |
|
Hi @prashantmrshine Thanks for the clarification. Could you please add an additional validation — for example, if the Incident was last resolved by an engineer a year ago and that engineer is no longer active in the system, then to whom should it be assigned? Using CIs is a good approach, but it’s quite a basic starting point. Or up to what time period should the Incidents be checked — for example, the last 6 to 9 months? Querying the entire table wouldn’t be an efficient approach. |
PR Description:
This code_snippet.js script auto-assign Incident to Last Engineer Who Worked on CI.
This README.md contains what does this scripts do.
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation
Restrictions