---
title: "Comment by Nat Asuah on \"APEX Interactive Grid - Processing Selected Records\" | Hashnode"
description: "Hi Jon, I have been looking for a solution like this for a while and coming across your post, I thought I had struck Gold. Well, I did. Just a little comment on"
url: "https://hashnode.com/posts/apex-ig-processing-selected-records/63a30669502862b208ce3c3c/comment/645e2b180d2cfe7dbccad8b7"
---

[Discussion](https://hashnode.com/posts/apex-ig-processing-selected-records/63a30669502862b208ce3c3c)

Comment [APEX Interactive Grid - Processing Selected Records](https://hashnode.com/posts/apex-ig-processing-selected-records/63a30669502862b208ce3c3c)

[Nat Asuah](https://hashnode.com/@Asuah)

[May 12, 2023](https://hashnode.com/posts/apex-ig-processing-selected-records/63a30669502862b208ce3c3c/comment/645e2b180d2cfe7dbccad8b7)

Hi Jon, I have been looking for a solution like this for a while and coming across your post, I thought I had struck Gold. Well, I did. Just a little comment on the "completion Message". The completion message is pop up irrespective of the outcome of the "Process Selected IDs". How do I link those events? Once again, thanks.

[Jon Dixon](https://hashnode.com/@orclapex)

[May 12, 2023](https://hashnode.com/posts/apex-ig-processing-selected-records/63a30669502862b208ce3c3c/comment/645e2b180d2cfe7dbccad8b7#reply-645e36210d2cfe7dbccadab8)

Hi Nat, Glad you liked the post. You could create another page item that is Hidden and Unprotected. In the 'Execute Server-side Code' step, populate that page item with a more specific message or some text that indicates that the completion message should not be displayed. In the Completion Message Javascript, put an if statement around the apex.message.showPageSuccess to either not display it or display the content of the new item. You could even use the JS API apex.message.showErrors to indicate an error occurred.
