Skip to content

Point in time triggers #480

@sergiofilhowz

Description

@sergiofilhowz

Right now we have 3 triggers: Event-based, API endpoints, and CRON. Cron runs regularly based on the configuration. This one is different; it's something we want to trigger at a specific point in time. It's a mix between Event and Cron.

I want to trigger an event, but I want the step to be executed only at a specific Date and Time. Example use cases: Sales expiration, Auction end date. These things can be critical to be executed at an exact time. In auctions specifically, I want to also be able to remove this trigger. For example, we create an auction that ends tomorrow at 2:00 pm; it should create and end an auction event for this time. Then, a few minutes later, we delete this auction. Then, as a dev, we should be able to delete this trigger.

There should be a list of scheduled tasks in both Motia Workbench and Motia Cloud where developers will be able to visualize all tasks and cancel them if they want. There will be a programmatic way to cancel tasks as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Upcoming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions