Hi ,
Thanks for reaching out to Microsoft Q&A.
1: Create the Triggers
- Tumbling Window Trigger: Create a tumbling window trigger that runs every 30 minutes. This type of trigger is designed to manage concurrency effectively.
- Daily Trigger: Create a schedule trigger that runs once a day at 11 AM.
2.1: Configure Concurrency
To prevent the two triggers from running simultaneously, you need to set the concurrency limit for the pipeline:
- Set Max Concurrency: In the pipeline settings, set the Max Concurrency to 1. This means that if one instance of the pipeline is running, the other instance (whether triggered by the 30-minute or the daily trigger) will wait until the current instance finishes before starting.
(OR)
2.2: Add Control Flow Logic in Your Pipeline:
- Use a control table (ex: in azure SQL database) or an azure storage blob to manage the execution state of the pipeline.
- Implement locking mechanisms to prevent simultaneous runs.
Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.