Skip to main content

Scheduling Dataset based on Event

  • By using this document user will learn how to schedule dataset with Event.

  • When the user wants to schedule their dataset, after some event is fired, then this type of scheduling comes into the picture. That are Events and tasks that are execute on a specified time and can be scheduled hence based trigger of an Events.

Schedule Dataset using Event: This video contains how to Schedule Dataset using Event in AIV.

👇 Scheduling Dataset in the AIV on trigger of an event:-

  • User want to trigger a datasetbased on external event, also event can be trigger based on execution of dataset.

  • When you want to schedule your dataset based on trigger of an event, then the event scheduling comes into the picture.In order to schedule the dataset based on event following steps should be followed:-

  1. Log in to AIV using your respective credentials.

  2. Go to Hamburger Menu Docusaurus Slash Introduction > MasterData > Dataset.

    Docusaurus Slash Introduction

  3. User will see the window as below:

    Docusaurus Slash Introduction

  4. We will be using Employees.ds in the dataset section for the purpose of understanding.

  5. Download schedule.zip from this given schedule.zip.

  6. Follow this link & upload the downloaded zip into AIV as shown.

  7. You can schedule your dataset by clicking on Docusaurus Slash Introduction which will open the following dialog box:-

    Docusaurus Slash Introduction

  8. Go to the schedule tab as shown in the figure above. By default Time will be selected hence select schedule type Event from the drop down menu.

  9. Trigger on Events define events on the trigger of which dataset will be scheduled.

  10. Currently event 1 has been created for this example, you can create an event of your own by clicking on Docusaurus Slash Introduction which will open the following dialog box.

    Docusaurus Slash Introduction

  11. Here we have created event numbered two which is an event related to Dataset as mentioned in Event Type.

You can provide optional description of event as shown above. You can also send an email to different users when event is fired.

  1. For this check on event mail and enter following details

Enter Users or Roles from the dropdown.
Enter the email address of the user who you want to send the email.
Select the template from dropdown, Default for our case and hit Submit.

  1. If you want some external event to fire click on the Docusaurus Slash Introduction which will guide you regarding necessary steps to perform the same.

  2. Now you have successfully created an event which will be visible in the dropdown as follows:-

    Docusaurus Slash Introduction

  3. We will use predefined event 1 for our example so select event 1.

  4. Click on Share in case you want to share the dataset with other users or user roles.

  5. Here the Visibility is kept Internal for this example.

  6. If you want you dataset to be approved before sending to other users, then check Approval Require. Send Reminder specifies how many reminder should be sent.

  7. After days specifies after how many days should the Reminder be sent again.

  8. Approved by specifies the user name, which is Admin in our case.

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

  10. In order to specify the output, go to the output tab as follows:-

    Docusaurus Slash Introduction

  11. Enter the name by which you want to schedule the dataset in the Name text area, also provide optional suffix if required.

  12. Select the format in which you want to generate the output from the dropdown menu. We have selected pdf for our example.

info
  • For dataset schedule user needs to select cds or stash format option as required.
  1. You can also specify event on success/failure of the dataset which will trigger an event and execute all the waiting for event datasets. We will discuss about this in detail in the event scheduling.

  2. You can also specify the delivery path on your computer where the dataset will be downloaded as follows.

    Docusaurus Slash Introduction

  3. The user can also send the file as email to the other users using following steps:-

    Docusaurus Slash Introduction

  4. Select the users and the roles from the drop-down menu.

  5. Enter your email address/addresses to which you want to send the file via email.

  6. Select a template from the dropdown, we have selected the Default template for our example.

  7. Click on Schedule icon Docusaurus Slash Introduction in order to schedule the dataset.

  8. In case of any further help, the user can click on the Docusaurus Slash Introduction icon to access the AIV help documents.

  9. If the user is not satisfied and wants to cancel the schedule request, he can do this by clicking on the cancel button next to schedule or by clicking on Docusaurus Slash Introduction button next to the Docusaurus Slash Introduction icon.

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

  11. You can trigger an event with another dataset as follows:-

    Docusaurus Slash Introduction

  12. Here we schedule a named Event Trigger which will trigger event 1 when run successfully.After this event is triggered, our Employee dataset will be executed.

  13. In this manner, you can schedule your dataset based on trigger of events.

▶️ 1. Right Now

🔂 2. Once

🔄 3. Recurring