How do I hide/disable a UI Action after one click
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2023 12:48 PM
Hello, I have a ui action button on a related list that generates some tasks. After clicking that button once, I want the button to be hidden/disabled, to prevent users from generating more tasks. I was wondering how to do so. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2023 12:53 PM
As you are creating the task on click of button that must be having any specific requirements to identify the task created from script. In the UI action condition call the script include and verify if the any task is created using the script and deactivate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2023 01:08 PM
I don't know if I'm understanding properly. So I would have to add script in the script include to check if the records have been created, and then call that function I guess from the UI action condition?