Set the Limit to UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 05:59 AM
Hi Team,
In the change form, we have "Reschedule Change" button and user click the that button more than 3 times with in the month need to display error message.
Please provide the solution.
Regards,
Maanasa Allu.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 06:19 AM
You would need a field on the change form to track how many times the Reschedule Change button has been clicked against that record it was initiated from. This field would increment by one each time the UI action was clicked and successfully ran against that Change form. When the Reschedule Change button is clicked, it would check to see if that new field <=3, and if so run the Action, otherwise throw an error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 06:28 AM
Please elaborate.
Is it three times in total, or three times for each user? How many users can click on it?
And since it's a custom action, can you please share your code so we can see if it's something we can use for the solution?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark