Workflow

How to Manage Ticket Macro Replies

Verified end to end. A disposable macro reply was created, loaded, renamed, edited, deleted, and confirmed absent from the macro reply list endpoint.

Evidence Summary

Workflow run
ticket-macro-replies-crud-20260519T152909Z
Route
/tickets/apoio/macro_replies
Macro reply id
3
Final state
Disposable macro reply deleted and absent from DT_Select_tickets_macro_replies.

Create or Edit

  1. Open Tickets, Support Files, then Macro Replies.
  2. Click Add Macro response.
  3. Fill required Name.
  4. Write the answer body in the rich-text editor. OfficeGest rejects an empty answer.
  5. Optionally restrict the macro reply by Department or Topic.
  6. Choose Type answer: all, new tickets, or answers.
  7. Optionally add default attachments and keep Active enabled.
  8. Click Save.

Create and update both submit createUpdateMacroReply with the serialized macro reply form. The verified create used tik_macro_reply_name=AI macro 152909, tik_macro_reply_text=<p>AI verified macro reply 152909</p>, tik_macro_reply_active=1, empty department/topic fields, and tik_macro_reply_type=all. It returned {"success":true,"id":3}.

Edit loads a row with loadTikMacroReply and attachs=1. The verified update used tik_macro_reply_id=3, renamed the macro reply, and changed the HTML body. It returned {"success":true,"id":"3"}.

Delete

  1. Click the delete action on the macro reply row.
  2. Confirm the prompt.

Delete calls deleteTikMacroReply with id=3. The response returned {"success":true}. A final DT_Select_tickets_macro_replies call confirmed AI macro edit 152909 no longer existed.

Artifacts