Pop Up confirmation message in UI action does not work for creating incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2023 02:07 AM
Hi,
I have created a UI action 'Create Incident' on the HR case and it was working fine. Additionally, I wanted to add a pop-up confirmation message and clicking OK should let the user create an incident or else stay on the same form. But this code does not run and clicking on UI action is not creating any incident. Please have a look at the code I used below and help me understand what is wrong with it.
/****************************************************************************************************************?
Thanks in Advance,
RS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2023 01:33 AM
Harshad, it is 'true' after clicking ok. Screenshot below
After clicking ok comes the below one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2024 12:41 PM
In case anyone else comes across this post, the True part of the confirmation isn't running because the true is wrapped in single quotes, ex:
(answer == 'true')
It should be
(answer == true)