Make field mandetory

Snehal
Tera Expert

Hi Team,

I have requirement to make assigned to field mandetory after closed cancelled the sc_task .Could anyone please suggest me the best practise to acheive this requirement .

 

Thank in advance !!

Help will be much apprieciated !

3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@Snehal  Please create a UI Policy on the the SC Task form with condition State is Closed Cancelled.

 

In the UI Policy action, make the assigned to field Mandatory true.

 

Screenshot 2024-07-04 at 1.11.24 PM.pngScreenshot 2024-07-04 at 1.12.03 PM.pngScreenshot 2024-07-04 at 1.12.21 PM.png

Please mark the response helpful and accepted solution if it addresses your question.

SN_Learn
Kilo Patron
Kilo Patron

Hi @Snehal  ,

 

The best way will be to achieve it with UI policy and UI policy action:

 

Create a UI policy with table: [sc_task] and condition will be state is closed cancelled

SN_Learn_0-1720079567506.png

 

Now, we will create a UI policy action to make the 'assigned_to' mandatory.

Click on the highlighted new button:

SN_Learn_1-1720079721612.png

 

Fill as below:

 

SN_Learn_2-1720079771059.png

 

Mark this as Helpful / Accept the Solution if this helps

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

Ehab Pilloor
Mega Sage

Hi @Snehal ,

 

Best practice would be to use UI Policy for this requirement.

1. Create a UI policy on sc_task table.

2. Configure the condition builder to State  is  Closed Cancelled

3. Configure Assigned to field in UI Policy Action to Mandatory - True.

4. Save the UI Policy and test it in your instance.

 

If you found my reply helpful, please mark it as solution and helpful.

 

Thanks and Regards,

Ehab