I want to restrict fields in every update and when time is 00:00:00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 03:08 AM - edited 02-08-2024 03:08 AM
Hi,
I have field called Time worked, When I creating a record it is showing initially the time is 00:00:00.
Here Once I save the form it is restricted to the form like 'Please fill the time worked before updating the ticket.' but I want to restrict fields in every update and when time is 00:00:00.
How to achieve, can you please help on this. It will be helpful.
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 03:15 AM
@mania , Identify which Business rule is Throwing error and check the When to Run condition if it is in on Insert , check update as well so it works on both creation and update
Regards,
Shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 03:15 AM - edited 02-08-2024 03:17 AM
Hi @mania
You can write a before BR for this without any condition and select the update checkbox
if( current.time_worked == '00:00:00' ){
current.setAbortAction(true);
}
Please hit helpful if this resolves your query.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 03:16 AM
Hi @mania ,
Can you be more clear with your requirement , unable to understand thats needs ...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 03:56 AM
Hi @mania
Just to be clear with your requirement, you want to restrict update to any field on the form if the time worked is 00:00:00 ?
If yes, why it is required as the business rule is already restricting the form submission if the time worked is 00:00:00 ?
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.