Minimum Character check for a resolution

Minimum Character check for a resolution

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 ADManager Plus?

          New to ADSelfService Plus?

            • Related Articles

            • Notification script using Custom function in custom trigger

              This is applicable from 10600 builds. From 10600 , Business rules dont have Email notification feature. The same use case be achieved through Custom triggers feature as mentioned below. Script to enable notification of request creation using custom ...
            • Business Rule is not working

              There are a few configurations that need to be checked for business rules.  1. Account/Site Check the request Account & Site, Now, go to Admin>Business Rules>Filter the Account & Site and make sure the Business Rules is created for the same  2. Rule ...
            • Notification in Business rules using Zoho Deluge script - > 10.6

              In 10.6, we don't have a separate option to notify technicians under the Business rules option. However, we have introduced something called custom action where more actions could be accomplished. As for notifying a technician/somebody when a ...
            • Script to Auto close a request by adding a resolution using deluge script

              Please note the script provided will work only from builds 10600 and above 1: Download the attached script and extract it. 2: Go to Admin > Request Custom Functions > Global function > New > Paste the content from the attachment 1.configuration.txt ...
            • Which rule is executed first - Business Rule or Custom Trigger ?

              When both Business Rule and a Custom Trigger is applied in an application, its the Business Rule that will be executed first before the Custom Trigger execution.  Business rules will be executed - Before the ticket is created. Custom triggers will be ...