how can we hide the priority 4 & 5 for sc_task table

VinayKumarA
Tera Contributor

how can we hide the priority 4 & 5 for sc_task table. However, we want these priorities to be appeared in other tables.

7 REPLIES 7

@VinayKumarA Yes, it will have an impact on the existing record as the options will be removed. To fix the existing records, I recommend you to write a background/fix script to change their priority.

 

Please consider marking my response helpful and accepted solution if it addresses your question.

Mr_X
Mega Guru

Hi @VinayKumarA ,

 

Write onload client script on sc_task and use below script.

 

g_form.removeOption('priority',4);
g_form.removeOption('priority',5);

 

Mr_X_0-1728473730318.png

This won't show priority 4 & 5 on sc_task but it won't impact other tables.

 

If my solution works please mark it as helpful and don't forget to hit thumbs up button!

VinayKumarA
Tera Contributor

Will it impact the existing active records on sc_task table?