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

          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 ...
            • Change Account for requester and in requests (Not applicable for builds above 9416 due to behavior change)

              If the intent is to move a request from one account to another, you will have to first move the requester to the correct account, and then you will be able to change the account in the requests. 1. Go to Admin - > Account details - > Requesters. Go ...
            • Account based outgoing mail sever settings post build 14001

              ACCOUNT BASED OUTGOING MAIL SERVER FEATURE: The account based outgoing mail server feature was introduced in builds 14001. Purpose: Having multiple accounts in the application, we use the account support email addresses to distinguish incoming emails ...
            • 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 ...