Generic Request (Auto route) Module

Generic Request (Auto route) is a module of the Generic Request application developed by the Center of Research & Development company. It allows the request to automatically move along the route under certain conditions (by the trigger).

In order to use this module, you need to install the Generic Request (Conditions) module.


You can enable or disable auto routes option in the settings.

  1. Click Requests on the left dashboard menu.

  2. Under the Configuration menu click Settings.

    A page with the settings opens.
  3. Scroll down to the Use Automatic Routes option, then select or clear the checkbox.
  4. Click Save on the left top.

Select / clear the addon's checkbox will install / uninstall the module.


Setting up automatic route execution

Open the request types page. For this, under Configuration menu click Types.

Select one of the type from the list or click Create to create a new one.

A form of the request type opens.

Click Routes on the right top.

You will be redirected to the request routes page.

Select one of the routes or click Create to create a new one.

A form opens.

At the bottom, on the left side of the form, you will see the Auto Only check box. If you select it, requests will be moved by this route only by triggers.

Click the Triggers button on the right at top.

You will be redirected to the triggers page.

Click Create to create a new trigger.

A form for creating a new trigger appears.

Fill in the form as is shown bellow:

  • Enter the name of the new trigger.
  • Click the Route drop-down menu and select the route for the trigger.
  • Select the trigger in the appropriate field:

    • Auto: On write - triggers route transition when you write / change fields. You can specify fields that need to be written to start the trigger. If no fields are specified, it will start on write of any request field.
    • Cron Daily - triggers automatically every 24 hours
    • Cron Hourly - triggers automatically every hour
    • Event - triggers when the selected event occurs. You can select conditions for triggering and event conditions. You can also select multiple events to trigger this route transition.
    • In the Trigger Conditions field, select the conditions that will be checked before triggering. For more detail on the conditions read the instruction for the Generic Condition application.
    • In the Sequence field select the trigger sequence. The lower the number, the higher the priority. If you use multiple triggers for one route, the first one will be executed (or check the execution conditions) the trigger with the higher priority.
    • Select the Trigger as superuser check box if necessary.
    • Click Save on the right above the form.

Now, when fulfilling the specified conditions, the request will automatically navigate through the stages of this route.