You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
+
1
17
Navigate to System UI > UI Actions.
2
18
Create a new UI Action with the following details:
3
19
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.
9
25
Onclick: ResolveIncident() (This must match the function name).
10
26
Condition: Set a condition to control when the button is visible (e.g., current.active == true).
11
27
12
-
/////////////////////////////////////////////////
28
+
2.Create Script Include:
29
+
13
30
Navigate to System Definition > Script Includes.
14
31
Click New.
15
32
Fill in the form:
@@ -18,13 +35,10 @@ Client callable: Check the box.
18
35
Copy the provided script into the Script field.
19
36
Click Submit.
20
37
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.
25
43
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.
0 commit comments