Workflow

How to Manage Ticket Departments

Verified end to end. A disposable ticket department was created, opened in the detail form, renamed, deleted, and confirmed absent from the departments list endpoint.

Evidence Summary

Workflow run
ticket-departments-crud-20260519T143230Z
Route
/tickets/apoio/departments
Create route
/tickets/apoio/departments/new
Department id
6
Final state
Disposable department deleted and absent from DT_Select_tickets_departments.

Ticket departments CRUD workflow diagram

Create or Edit

  1. Open Tickets, Support Files, then Departments.
  2. Click Add to open /tickets/apoio/departments/new.
  3. Fill required Name.
  4. Select State to Re-Open. The verified disposable row used status id 1.
  5. Optionally select the department email account, SLA, label format, notification alerts, automatic closing status/days, and rich-text signature.
  6. Enable Active if the department should be available to tickets.
  7. Click Guardar.

Create and update both submit createUpdateTikDepartamento with the serialized department form. The verified create used department_name=AI dept 143230, empty email/SLA/tag/signature values, department_status_reopen=1, and department_active=1. It returned {"success":true,"id":6}.

Edit opens /tickets/apoio/departments/view/Ng== for department 6. The verified update submitted department_id=6 and department_name=AI dept edit 143230, returning {"success":true,"id":"6"}.

Delete

  1. Return to Tickets, Support Files, Departments.
  2. Click the delete action on the department row.
  3. Confirm the prompt.

Delete calls deleteTikDepartment with id=6. The response returned {"success":true}. A final DT_Select_tickets_departments call confirmed AI dept edit 143230 no longer existed.

Artifacts