- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 08:14 PM
As shown in the figure below, I added a button called 'delete' on the screen and wrote a pop-up code in the UI action. However, when I clicked the 'delete' button, it did not pop up. Why is this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2024 08:04 AM
@zx please remove condition and update function in o'clock field....please click accepted as solution and helpful if it works

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 08:26 PM
Hi @zx ,
"resolveDelete" function call should be in the Onclick field not on the Condition (Condition field is to control visibility)
Change and try
Hope this helps!!!
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2024 02:43 AM
Hi @zx ,
Did this resolve your issue??
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 08:35 PM
@zx Remove the function call from the "condition" field. Instead, use the function call in the "onClick" field shown in the below image. This will solve your issue.
PS: Please hit "Correct", "Helpful" or "Like" depending on the impact of the response.
Regards,
Kamal S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 10:49 PM
@zx please move your client function call to "Onclick" field from condition.