Skip to content

Commit 9baf436

Browse files
authored
Update README.md
added more description of use case and how it works
1 parent f3711c5 commit 9baf436

File tree

1 file changed

+23
-9
lines changed
  • Client-Side Components/UI Pages/Resolve Incident UI Page

1 file changed

+23
-9
lines changed
Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
Use Case:
2+
3+
Everytime user try to resolve the incident, the resolution codes and resolution notes are mandatory to be entered as it hidden in tabs,Since it is mandatory fields. So to ease the process we introduced a custom UI action will prompt the user
4+
to enter resolution notes and resolution codes and automatically set the state to Resolved.
5+
6+
How it Works:
7+
8+
Navigate the Incident form and make sure the incident is not closed or active is false.
9+
Click Resolve Incident UI action, it will open an modal with asking resolution notes and resolution code.
10+
Provide the details and submit. incident is updated with above Resolution notes and codes and set state to be Resolved.
11+
12+
13+
Below Action Need to Performed:
14+
15+
1.Create UI action:
16+
117
Navigate to System UI > UI Actions.
218
Create a new UI Action with the following details:
319
Name: Resolve Incident (or a descriptive name of your choice).
@@ -9,7 +25,8 @@ Form button: Check this box to display it on the form.
925
Onclick: ResolveIncident() (This must match the function name).
1026
Condition: Set a condition to control when the button is visible (e.g., current.active == true).
1127

12-
/////////////////////////////////////////////////
28+
2.Create Script Include:
29+
1330
Navigate to System Definition > Script Includes.
1431
Click New.
1532
Fill in the form:
@@ -18,13 +35,10 @@ Client callable: Check the box.
1835
Copy the provided script into the Script field.
1936
Click Submit.
2037

21-
/////////////////////////////////////////////////
22-
Navigate to system definition > UI pages
23-
Fill the HTML and client script
24-
Submit
38+
3.Create UI page:
39+
40+
Navigate to System Definition > UI pages
41+
Fill the HTML and client script.
42+
Click Submit.
2543

26-
//Verification
27-
Navigate the Incident form and make sure the incident is not closed or active is false
28-
Click Resolve Incident UI action, it will open an modal with asking resolution notes and resolution code.
29-
Provide the details and submit. incident is updated with above details and set to resolved.
3044

0 commit comments

Comments
 (0)