Minimum Character check for a resolution

Minimum Character check for a resolution

Requirement:
Resolution content is mandatory when a request is being resolved. But frequently, when closing a request, technicians write incorrect or meaningless text in the resolution content.  So, we will need to evaluate resolution content's minimum character count.

Steps to follow:
1.Extract the attached content and copy it into Admin >> Developers Space >> Request custom function >> New.  
2.Save the function with a proper name.
3.Configure this script as a Business Rule to get executed every time a request is edited and resolution content is not empty.




Error when the resolution does not contain proper value:


if("null".equalsIgnoreCase(resolution) || resolution.length() < 20) -->You could customize the resolution length as per your requirement.

                  New to ADSelfService Plus?