How to popup UI page with "Rejection Rason" textbox on Listview ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2024 09:10 AM - edited 05-06-2024 09:36 PM
Hi All,
I am unable to popup UI page or "Prompt" function message on Approval tab Listview.
Whenever I am going to "Reject" any approval, popup should appear with textbox asking for rejection reason which will be get captured in "Comments" section of approval table.
@Ankur Bawiskar any insight please?
Please help me to achieve this.
Regards,
Virendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2024 11:22 AM
Let's say you select 4 approval records and then 'Reject'. Do you want the same comments entered on the popup to be entered in the comments for all 4 approval records?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2024 09:34 PM
No @magee , it will be individual Rejection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 03:18 AM
Ah. This may be doable but would require you to iterate through each selected approval record on the UI Page. It would take some time to chew through, but again, could be doable w/ a UI Page.
First order of business would be to update the 'Reject' UI action to get the quantity of records selected.
Then pass that quantity and sys_id's of the records to the UI Page.
Remember, if you update the UI Action, you are updating out of the box functionality so you might want to copy the UI Action and create your own. Just a thought.