Set the Limit to UI action

maheshch18
Tera Contributor

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.

2 REPLIES 2

Zach Koch
Giga Sage
Giga Sage

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.

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

Mark Manders
Mega Patron

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