Giter Site home page Giter Site logo

Comments (1)

glime-ai avatar glime-ai commented on June 16, 2024

To address the proposed enhancement for incorporating dynamically provided activities into programmatic workflows in Elsa Workflows, it's important to note that Elsa already supports a mechanism for defining workflows programmatically and dynamically. However, the current documentation and examples primarily illustrate the use of statically defined .NET classes.

The proposed API enhancement suggests extending the workflow builder API to allow for the inclusion of dynamically provided activities within programmatic workflows. This would indeed increase the flexibility of Elsa Workflows, enabling developers to define workflows that can adapt to changes without the need for recompilation.

As of my knowledge cutoff date in early 2023, the Elsa Workflows documentation and GitHub discussions indicate that Elsa 3 supports dynamic workflows and activities. For instance, the IWorkflowProvider interface allows for the dynamic provision of workflows, which can be read from JSON and mapped into Elsa workflows programmatically.

To implement the proposed enhancement, the Elsa team would need to extend the existing workflow builder API to support the instantiation and configuration of dynamically provided activities within the programmatic workflow definitions. This could involve creating a new API method or extending existing ones to accept activity identifiers (e.g., "Acme.DownloadOrder") and to configure their inputs and outputs dynamically.

It's also worth noting that Elsa Workflows is an open-source project, and contributions from the community are welcomed. If this feature is not yet available, you could consider contributing to the project by implementing the proposed API changes and submitting a pull request for review by the Elsa team.

For the most up-to-date information on this feature and to check if it has been implemented after my knowledge cutoff date, I recommend checking the official Elsa Workflows documentation, GitHub repository, and discussions for any updates or new releases that may address this enhancement.

from elsa-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.