Skip to content

Event Schedule

  • This document will instruct users on how to schedule datasets using events.

  • When users want to schedule their dataset following a specific event, event-based scheduling becomes relevant. This approach involves executing events and tasks at designated times triggered by specific 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:-

👇 Scheduling Dataset in the AIV based on Event.

  • Event-based dataset scheduling in AIV involves triggering dataset execution based on specific events. This allows users to automate dataset tasks to run when certain conditions or events occur within the system. Users can define triggers for events such as data arrival, system events, or custom events, and configure datasets to execute accordingly. Event-based scheduling enhances automation capabilities in AIV, ensuring timely data processing and enabling efficient workflows.

  • To schedule the dataset based on an event, follow these steps :

  1. Sign in to AIV with your provided credentials.

  2. Navigate to the Dataset section by clicking on the Hamburger Menu, then selecting MasterData, and finally Dataset. Image

    Image

  3. User will see the window as below:

    Image

  4. We’ll utilize “customers.ds” in the dataset section for comprehension.

  5. you can download “schedule.zip” from the provided link by clicking on it or copying the link into your web browser’s address bar and pressing Enter. If you have any further questions or need assistance, feel free to ask. schedule.zip.

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

  7. Schedule your dataset by clicking on a , which will open the following dialog box. Image

    Image

  1. Navigate to the schedule tab as shown. By default, the Schedule Type will be set to Time, Now changed it to Event from the drop-down menu.

  2. “Trigger on Events” defines events upon which the dataset will be scheduled to run.

  3. Currently, “Event 1” has been created for this example. You can create your own event by clicking on [icon], which will open the following dialog box.

Image

Image

  1. Here, we have created event number one, which is related to the dataset, as mentioned in the Event Type.

  2. For this check on Event mail and enter appropriate details.

  3. If you want an external event to trigger, click on , which will guide you through the necessary steps to perform the same.

    Image

  4. Now, you have successfully created an event, which will be visible in the dropdown menu as follows.

    Image

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

    Image

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

    Image

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

    Image

  8. 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.

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

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

  11. 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.

  12. In order to specify the output, go to the output tab as follows.

Image Image

  1. Enter the desired name for scheduling the dataset in the “Name” text area, and optionally provide a suffix if required.

  2. Select the format in which you want to generate the output from the dropdown menu. For our example, we have selected cds.

:::note[Info]


   For dataset schedule user needs to select cds or stash format option as required.

:::

25. You can also specify an event for the success or failure of the dataset, which will trigger an event and execute all waiting-for-event datasets.

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

    Image

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

    Image

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

  4. Enter your email address(es) to which you want to send the cds file via email.

  5. Select a template from the dropdown menu. For our example, we have chosen the Default template.

  6. Click on run button in order to schedule the dataset.

    Image

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

    Image

  8. 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 help or by clicking on button next to the icon.

    Image

  9. The dataset is scheduled, and you can check that in the “Requests” section under the “Requests” tab. Navigate to “Waiting for event,” which shows where the dataset is waiting for the event to trigger.

  10. You can trigger an event with another dataset as follows.

    Image

    Image

    Image

    Image

  11. Here we schedule a named brij_orders_parameter which will trigger event 1.parameter event type when run successfully.After this event is triggered, our brij_orders_parameter.cds dataset will be executed.

  12. In this manner, you can schedule your dataset based on the trigger of events.which can be seen on Request notification section.

    Image

▶️ 1. Right Now
🔂 2. Once
🔄 3. Recurring