Skip to content

Conversation

@Shweyy123
Copy link

README.md

📌 Description

This client-side function, openEditLastCommentModal(), enhances the Incident form experience by allowing users to edit the most recent Work Notes or Additional Comments directly from a modal dialog—without leaving the form.

It uses the GlideModal API to launch a UI Macro (edit_worknotes_comments_inc) and passes the current incident’s sys_id to pre-load relevant data. This interaction is triggered by a UI Action configured as a form button (Client: true, Form Button: true), enabling quick and intuitive editing for agents.

This approach improves communication accuracy and speeds up ticket updates by avoiding full page reloads or manual comment searches.

@ravichandra1998g ravichandra1998g self-assigned this Oct 6, 2025
Copy link
Contributor

@ravichandra1998g ravichandra1998g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @Shweyy123

As per the guidelines, please add a README file as well. It should provide more details about the use case and the code you’ve written.

Closing this PR for now. Kindly reopen or create a new PR after making the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants