-
Notifications
You must be signed in to change notification settings - Fork 907
New incident #1724
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
New incident #1724
Conversation
Check with new and existing incident records in the ServiceNow instance.
Name: FlashEmptyField Table: Select the table where the field is located (e.g., Incident). Applies: Specify the field you want to validate (e.g., short_description).
Table: Select the table where the date field is located (e.g., Incident). Applies: Specify the date field you want to validate (e.g., opened_at). when a user tries to select a future date in the specified date field, the script will prevent it and display an alert. You should replace 'your_date_field' with the actual name of the date field in your instance.
Table: Specify the table on which you want this UI action to appear (e.g., Incident). Order: Set the desired order for the UI action's appearance in the list. Active: Check the box to make the UI action active. Table: Select the table where you want to create the UI action (e.g., Incident).
This script will get all the Incident which are active
we're update the priority of incidents based on their impact.
Create UpdatePriorityBasedOnImpact.js
we're creating new incident records
Create CreateIncident.js
Update Incident whose state is open so update the priority
Create UpdateIncident.js
Delete only those incident which are closed
Create DeleteIncident.js
Create CurrentMonth.js
The script uses the GlideRecord API to interact with the incident table and inserts a new record with the specified values
ravichandra1998g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @Thrizvi,
Thanks for your submission. It appears that this pull request contains more files than described in the title. Please review and update the pull request to either remove the extra/unintended files or to update the description to be more comprehensive. Ensure your contributions are meaningful and adhere to the project’s standards. [If applicable: You can create a new branch on your forked repository to avoid accidental inclusions of new commits in the future.]. Closing this for now. Once you make additional changes, feel free to re-open this Pull Request or create a new one.
|
|
As a reminder, the general requirements are outlined in the CONTRIBUTING.md file) |
The script uses the GlideRecord API to interact with the incident table and inserts a new record with the specified values