Skip to content

Commit 0a8ff4e

Browse files
naveensnowrohi-v
authored andcommitted
Create README.md
1 parent 798fdc4 commit 0a8ff4e

File tree

1 file changed

+30
-0
lines changed
  • Client-Side Components/UI Pages/Resolve Incident UI Page

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Navigate to System UI > UI Actions.
2+
Create a new UI Action with the following details:
3+
Name: Resolve Incident (or a descriptive name of your choice).
4+
Table: Incident [incident].
5+
Action name: resolve_incident_action (must be a unique, server-safe name).
6+
Order: A number that determines the position of the button on the form.
7+
Client: Check this box. This is crucial for running client-side JavaScript.
8+
Form button: Check this box to display it on the form.
9+
Onclick: ResolveIncident() (This must match the function name).
10+
Condition: Set a condition to control when the button is visible (e.g., current.active == true).
11+
12+
/////////////////////////////////////////////////
13+
Navigate to System Definition > Script Includes.
14+
Click New.
15+
Fill in the form:
16+
Name: ResolutionProcessor
17+
Client callable: Check the box.
18+
Copy the provided script into the Script field.
19+
Click Submit.
20+
21+
/////////////////////////////////////////////////
22+
Navigate to system defintion > UI pages
23+
Fill the HTML and client script
24+
Submit
25+
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.
30+

0 commit comments

Comments
 (0)