FAFR - How to mandate field when SLA is overdue
1. Under Admin >> Incident Template >> Edit the template in question
2. Choose field and form rules and apply the below script On Form Submit
var duebyDate = $CS.getValue("DUEBYDATE");
var currentDate = new Date();
You can choose the relevant field name as highlighted below
Query to show Field and Form rules of each template
MSSQL: SELECT rtf.templatename "Template Name", STUFF((SELECT ', '+ ad.org_name + char(10) FROM Accountdefinition ad LEFT JOIN Ruleaccountmapping ramp ON ramp.accountid=ad.org_id where rd.ruleid=ramp.ruleid FOR XML PATH ('')), 1, 1, '') 'Rule ...
Query to show active Field and form rules in a service template.
Please go to Reports-New Query Report and execute the query. SELECT rtf.templatename "Template Name", rd.rulename "Rule Name", ry.ruletype "Event", rd.usertype "Applies To", rd.jscode "Script", rat.actionname "Action Name", RuleFormField.fieldname ...
Script to Populate User Additional Field under Incident Template using FAFR
The script load the Requester Name under Incident Additional field ( As a pick list), by choosing the requester name under additional field the script populates the user additional field value. * Kindly create two additional fields under Admin -> ...
Disable Default Template - Using FAFR
1. Navigate to Admin>Incident Template>> Edit Default Template 2. Select Field & Form Rules Tab 3. Select On form Load 4. Make sure to select "Applies to Technicians" and set the action as Execute Script and paste the below script ...
Route from default request to service catagories
To route from default request page to service catagories Kindly follow the steps below, Access the Admin Module Select incident template>>Feilds and Forms Rules Create a new rule, paste the script and save it I have attached a screenshot for ...