elsa-workflows / elsa-workflows/elsa-core

[BUG]Timing trigger exception.

Open
#5,883 6 comments 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

## Description
Triggering the workflow every second via Cron or Timer can lead to repetitive workflow triggering and confusing timing.

## Steps to Reproduce
CRON(0/1 * * * * ?)->A time-consuming custom activity

## Expected Behavior
Triggered once per second according to the expression or after the first real column workflow has completed execution, then triggered the second workflow.

## Actual Behavior
A second or even more workflows are triggered during the execution of the first workflow instance

## Screenshots
![image](https://github.com/user-attachments/assets/c7fc5447-50af-4803-9dce-5e0c7923b958)

## Environment
- **Elsa Package Version**: 3.2.0-rc4
- **Operating System**: Windows 10
- **Browser and Version**: Edge 127.0.2651.95

## Log Output
No error logging output

## Troubleshooting Attempts
When the execution time of a custom activity (which is a time-consuming activity) is controlled within the trigger interval or the trigger time is set beyond the activity execution time, the abnormal workflow real column will be greatly reduced or even no.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.