When Business Criticality is 3 Incident Priority shouldn't be Critical and vice versa

Balaraju K B
Tera Expert

Hi Team,

There is a requirement that whenever the Service Offering.business_Criticality is 3 then Priority shouldn't be Critical and if it's Critical then user shouldn't be able to submit/save the incident form. 

Which is the Best way to do this? BR or Client script?

@Ankur Bawiskar which script is recommended for this?

 

Thanks in Advance,

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @Balaraju K B ,

 

Before business rule should be the right choice on this case. If you go with on submit client script then you need to make server call using glideAjax to get the service offering business criticality , so better go with before BR.

 

Please accept the solution or hit like if it helped you.

View solution in original post

3 REPLIES 3

Runjay Patel
Giga Sage

Hi @Balaraju K B ,

 

Before business rule should be the right choice on this case. If you go with on submit client script then you need to make server call using glideAjax to get the service offering business criticality , so better go with before BR.

 

Please accept the solution or hit like if it helped you.

@Runjay Patel  I have used onSubmit client script for this without involving server processing with Business rule.

We can do this via BR also but opted Client script. Thank you for the reply Runjay.

Ankur Bawiskar
Tera Patron
Tera Patron

@Balaraju K B 

It depends on what's the business requirement but you can go with either component.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader