I want to restrict fields in every update and when time is 00:00:00.

mania
Tera Contributor

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!

 

 

5 REPLIES 5

shyamkumar VK
Kilo Patron

@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 

 

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar

_Gaurav
Kilo Sage

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!

 

 

Sohail Khilji
Kilo Patron
Kilo Patron

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....

LinkedIn - Lets Connect

Amit Verma
Kilo Patron
Kilo Patron

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.