Scheduled Action

Scheduled Actions in D3E Studio allow developers to automate tasks or events based on specified schedules. These actions can be triggered at predefined times or intervals, enhancing the flexibility and efficiency of data-driven processes. This documentation provides a comprehensive guide to understanding and configuring Scheduled Actions in D3E Studio.

This mechanism allows developers to coordinate the execution of data-driven tasks, such as updating visualizations, handling data events, or refreshing content, based on temporal conditions.

Key Features

Name:

  • Every scheduled action is uniquely identified by a name within the API.

Description

  • Here you can give a detailed and informative explanation or representation of Scheduled Action. It is a narrative that provides additional information to help understand, identify, or explain about the scheduled action.

Documentation

  • Allows users to document and store information about specific Scheduled Action in the project. Write notes, explanations, or guidelines related to Scheduled Action. Facilitates collaboration by providing a shared space for notes and documentation.

Type:

  • The "Type" property determines when the scheduled action should run. There are four types available:

    • 1. Fixed Rate: Executes the action at regular intervals.

    • 2. Fixed Delay: Executes the action with a delay between consecutive executions.

      • Delay (for Fixed Rate/Fixed Delay): For Fixed Rate and Fixed Delay types, specify the delay in milliseconds between consecutive executions.
    • 3. Cron: Executes the action based on a cron expression.

      • Cron Expression (for Cron Type): For the Cron type, enter the cron expression that defines the schedule for executing the action.
    • 4. User Defined: Allows users to define custom conditions for executing the action.

      • User Defined (for User Defined Type): Select a model and define an expression for the conditions under which the action should run. Choose whether it should run once or always.

Time Zone:

  • Specify the time zone for the scheduled action to ensure accurate execution based on the specified schedule.

Creating a Scheduled Action

Follow these steps to create a Scheduled Action:

Step 1: Select Scheduled Action in "Create New" button.

Step 2: Give the scheduled action name as you want.

Step 3: Add a description about Sheduled action(optional).

Step 4: In the Scheduled Action configuration, choose the type based on your scheduling requirements.

Step 5: Configure the properties based on the selected type (Delay, Cron Expression, Model & Condition).

Step 6: Specify the time zone for accurate scheduling.

Step 7: Save the Scheduled Action configuration and Check whether Sheduled action is saved or not in the Sheduled action list in the Explore tree.

Managing Scheduled Actions

Once a Scheduled Action is created, you can manage and customize it as needed:

Edit Scheduled Action:

  • Modify the configuration of an existing Scheduled Action by clicking on the scheduled action name in the explorer tree.

Delete Scheduled Action:

  • Remove a Scheduled Action that is no longer required.

Conclusion

Scheduled Actions in D3E Studio offer a powerful mechanism to automate tasks based on temporal conditions. By providing different types and configuration options, developers can implement precise schedules for executing actions, improving the overall efficiency of data-driven processes. This documentation serves as a guide to help you leverage the capabilities of Scheduled Actions in your D3E Studio projects.