Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to support multiple workflows running in a single APP #4

Open
VictorS67 opened this issue Sep 6, 2024 · 0 comments
Open

Need to support multiple workflows running in a single APP #4

VictorS67 opened this issue Sep 6, 2024 · 0 comments

Comments

@VictorS67
Copy link
Owner

Current encre.app.config.js file only support single workflow path in 'workflow' attribute, however, we should support multiple workflows running in a single App.

To do this, we need to change the schema of the 'workflow' attribute. Can change it to either string or string[].

I don't think we need to refactor anything else, except we should let users know what are the required attributes for configurating handlers. For example, if multiple workflows is configured, then every handler should have non-empty attribute 'graphId' to indicate which workflow it is belong to. Thus, a validation step to check workflow schema is required here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant