Account specific request template: Redirection to requester's account based template from default template using FAFR

Account specific request template: Redirection to requester's account based template from default template using FAFR

Tested in builds 14000, 14200 and 14201 (Global FAFR):

Step 1: In Global FAFR, on form load, configure an FAFR and execute the below script under Action as shown below,

try{
      $req.form.destroyForm(undefined, false);
}catch(err){}
jQuery(document).ready(function(){
          window.location.href="/WorkOrder.do?woMode=newWO&reqTemplate=8";
});

Step 2: Replace "8" with the desired template ID.




Note
"All Templates" should not be enabled under "Rule applies for", as it leads to page crash.

Now, from the requester's login while creating a new request, the template automatically changes to one which is mentioned in the rule for the requester's account.
However, a double loading of the new request page will happen which has to be informed to the cx.


                  New to ADSelfService Plus?

                    • Related Articles

                    • 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>>Fields and Forms Rules Create a new rule, paste the script and save it I have attached a screenshot for ...
                    • Account based outgoing mail sever settings post build 14001

                      ACCOUNT-BASED OUTGOING MAIL SERVER FEATURE: Introduction: Account-based outgoing mail server feature was introduced in build 14001. This feature ensures that users receive notifications and responses from the specific email address associated with ...
                    • 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  ...
                    • Script to set fields from CSV using FAFR.

                      Works in 10604 Requirement: Load Data from CSV depending on the value selected in an additional field. Usecase: Assume there are 3 additional fields for a request template, namely, "Reference number", "Payment type and "Vendor". "Reference number" is ...
                    • Set SLA automatically for a service request using FAFR

                      Note: The below FAFR script will work only on 10600 MSP and above Requirement: Set SLA automatically for a service request depending on the Priority. Usecase: Let us consider a scenario where SLA has to be set depending on the requester's associated ...