Skip to content

Set incident as critical priority #1073

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

Conversation

shridk
Copy link
Contributor

@shridk shridk commented Oct 1, 2024

This UI Action sets current incident record as Critical priority.

When clicked
Conformation message will be displayed to the user as below
Are you sure you want to set priority as Critical?

If user selects cancel nothing will happen

If user selects confirm then
a) It sets the Priority of the current Record as 1-Critical by setting Urgency and Impact as 1-High.
b) It also sets 'assigned_to' field as 'logedin user'.
c) It also upends the description as "Priority is set to Critical by 'logedin User'".

Please note that it changes field values only on the form that is client side.
Unless you submit or update the record field values will not be updated in the database table records.

You can use this as reference to set other field values as well

shridk added 2 commits October 1, 2024 15:02
This UI Action script sets current incident record as priority as Critical.
Readme file
@kmxo kmxo self-assigned this Oct 1, 2024
@kmxo
Copy link
Contributor

kmxo commented Oct 1, 2024

Sounds good to me!

@kmxo kmxo merged commit d2ec8cd into ServiceNowDevProgram:main Oct 1, 2024
1 check passed
@shridk
Copy link
Contributor Author

shridk commented Oct 1, 2024 via email

@kmxo kmxo added the hacktoberfest-accepted The PR is accepted for Hacktoberfest, regardless of being merged or not label Oct 1, 2024
@SapphicFire SapphicFire added hacktoberfest-accepted The PR is accepted for Hacktoberfest, regardless of being merged or not and removed hacktoberfest-accepted The PR is accepted for Hacktoberfest, regardless of being merged or not labels Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted The PR is accepted for Hacktoberfest, regardless of being merged or not
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants