Create a business rule to close multiple incidents

You can create a business rule for the UI action to close multiple incidents.

Procedure

  1. Navigate to System Definition > Business Rules.
  2. Create a business rule like the one in Create Business Rule.
    Figure 1. Create Business Rule

Example

Copy and paste the following code to create the new rule:
current.active = 'false';
current.short_description = "TEST CLOSE NOTES";
current.incident_state = '7';
gs.addInfoMessage("Closing");
current.update();