Comments (1)
To address your feature request regarding the ability to schedule a "ScheduleActivity" alteration to an activity instance that has already completed, it's important to understand the current behavior and design of Elsa Workflow's alteration feature.
As per the documentation and the source code, the "ScheduleActivity" alteration is indeed designed to schedule activities that are not yet completed. This is because the typical use case for scheduling activities is to orchestrate the execution flow of activities that are pending or in progress.
However, your request suggests a need to reschedule activities that have already completed, which is not the current behavior of the system. To implement this feature, it would require changes to the core logic of how the workflow engine handles the state of activities and their execution contexts.
The proposed solution would involve modifying the alteration engine to allow scheduling of completed activities. This could potentially be a significant change, depending on how the workflow engine manages the state and history of activity executions.
Before such a feature can be implemented, it would be necessary to consider the following:
-
Impact on Workflow State: Allowing completed activities to be rescheduled may have implications on the workflow state and history. It's crucial to ensure that such changes do not introduce inconsistencies or unexpected behavior in the workflow execution.
-
Use Cases: It would be helpful to understand the specific use cases that require rescheduling completed activities. This information can guide the design and implementation of the feature to ensure it meets the needs of users.
-
Compatibility: Any changes to the workflow engine must maintain backward compatibility with existing workflows and not disrupt current users' processes.
-
Documentation and Testing: Adequate documentation and thorough testing would be necessary to ensure that users understand the new feature and that it works as intended without introducing bugs.
Given the complexity of this feature request, it would be best to discuss it further with the Elsa Workflow development team, possibly by opening a GitHub issue or contributing to an existing discussion related to this topic. This way, you can collaborate with the maintainers and the community to evaluate the feasibility and plan the implementation of this feature.
This comment was generated by Glime.
from elsa-core.
Related Issues (20)
- [BUG] Exception 'Activity Descriptor Not Found' After Windows Update HOT 2
- [BUG] ParallelForEach Behavior Inconsistency HOT 2
- [BUG] C# scripting memory leak HOT 1
- [BUG] Elsa.UseMongoDb() options.DatabaseName does not set Database HOT 1
- [BUG] The call is ambiguous between the following methods or properties: Microsoft.AspNetCore.Mvc.Versioning with .net8 HOT 1
- [BUG] Returning Null from Elsa Mediator handler SendAsync throws InvalidCastException HOT 1
- [BUG] Error running project HOT 1
- [BUG] IFormFile in c# scripting HOT 1
- [BUG]How does Elsa use Sqlserver? HOT 2
- [BUG] odd behavior with WF API with debugging and non debuging HOT 1
- [BUG]Elsa 3.0 is not Elsa.Persistence.EntityFramework.SqlServer? HOT 1
- [BUG]Elsa.EntityFrameworkCore.SqlServer启动如何配置? HOT 1
- [BUG]Elsa 3.0 如何配置为使用 SQL Server 数据库? HOT 1
- [BUG]Elsa 3.0 NuGet包,没有Elsa的SQL Server持久性提供程序? HOT 1
- [BUG]Elsa.EntityFrameworkCore.SqlServer在program如何配置? HOT 1
- [BUG] StatusCode cannot be set because the response has already started. HOT 1
- [BUG] BookmarksDeleted notification not send on index (Elsa 2.14.1) HOT 1
- [BUG] Infinite Looping in Event Activity in v3 HOT 3
- PopulateRegistriesHostedService - Failed to ensure that lock file directory /usr/app/App_Data/locks exists HOT 3
- [BUG] variables are not available in the JS expression engine context. Only accessors are available. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elsa-core.