Skip to content

Schedule Reports by Event

Schedule Reports by Event is used When the user wants to schedule their event, after some event is fired. When you want to schedule your merge reports based on the trigger of an event, then the event schedule comes into the picture.

By using this document user will learn how to schedule merger report using event scheduling.

Objective

Schedule Report using Event Scheduling

Prerequisites

For this example Demo Merge Report used.

Download merge_report.zip file from link given merge_report.zip

Upload Demo Merge Report.merge report from downloaded zip file to Merge Report Section. Refer this link to see how to upload files in AIV. Use same procedure to upload both of the files.

Steps for Event Scheduling

  1. We will be using Demo Merge Report.merge in this example section for understanding.

  2. There are two ways in which user can schedule the report.

    I. By right-clicking on desired report & select Edit from the context menu.

    Image

    II. By double clicking on desired report.

  3. By opening the Merge Report, from one of the methods mentioned above user will see the window as below:

    Image

  4. Go to Schedule tab & selct Event from the drop-down of Schedule Type as shown below:

    Image

  5. Trigger Events define events on the trigger of which report will be scheduled.

  6. Currently, event 11.11 has been created for this example as shown:

    Image

  7. You can create an event of your own by clicking on Create Event icon which will open the following dialog box.

    Image

  8. Here we have created an event numbered 5 which is an event related to Report as mentioned in Event Type & you can provide an optional description of the event as given below:

  • Event Number: 5

  • Event Type: Event Report

  • Event Description: Event is triggered when report is generated

    Image

  1. You can also send an email to different users when an event is fired.

  2. For this check on event mail and enter the following details:

  • Enter Users or Roles from the drop-down.
  • Enter the email address of the user to who you want to send the email
  • Select the template from the drop-down, Default for our case, and hit the Submit button.
  1. As user clicks on submit button, one pop-up message will be shown displaying Event Created Successfully at the top - center of the screen.

  2. If you want some external event to fire click on the Question Mark icon which will guide you regarding necessary steps to perform the same.

    Image

  3. Now you have successfully created an event, which is Event Number: 5. That will be visible in the dropdown of Trigger On Events in the Schedule tab.

    Image

  4. We will use predefined event 11.11 for our example, so select event 11.11.

  5. Click on Share in case you want to share the report with other users or user roles & here the Visibility is kept Internal for this example.

  6. If you want your report to be approved before sending it to other users, then check Approval Require.

  7. You can also specify how many times the report should be re-executed in case of failure and the interval from the drop-down menu shown in the figure. For instance, in our case, the report will be executed twice in case of failure within 5 minutes.

  8. To specify the output, go to the output tab as follows:-

    Image

  9. Enter the name by which you want to schedule the report in the Name text area. Also provide a suffix if required, it is optional.

  10. Select the format in which you want to generate the output from the drop-down menu. We have selected pdf for our example.

  11. You can also specify an event of the success/failure of the report, which will trigger an event and execute all the waiting for event reports.

  12. You can also specify the delivery path on your computer where the reports will be downloaded/ send email to other users as follows.

    Image

  13. Select the users and the roles from the drop-down menu & enter your email address/addresses to which you want to send the report via email.

  14. Select a template from the drop-down, we have selected the Default template for our example.

  15. Finally click on Save And Merge icon button to save the changes done & it will also redirect you to the another window of the browser to see the Merge Report.

  16. In case of any further help, the user can click on the Help icon icon to access the AIV help documents.

  17. If the user is not satisfied and wants to cancel the schedule request, he can do this by clicking on the Cancel icon button next to the merge icon or by clicking on button next to the Help icon icon.

  18. The report is scheduled and you can check that in the Requests section Requests tab, go to Waiting for the event which shows where the report is waiting for the event to trigger.

  19. Click here to know more in detail about request section. Request section displays all the reports that have been completed, running, waiting for events or scheduled. In case of report failure, the error is also displayed on this page.

  20. You can trigger an event with another report as follows:-

    Image

  21. Here we schedule a report named Event Trigger which will trigger event 11 when run successfully. After this event is triggered, our Merge report will be executed.

  22. In this manner, you can schedule your merge reports based on the trigger of events.

To understand in detail about Time Scheduling, click on the following link:-

Time Schedule