-
Notifications
You must be signed in to change notification settings - Fork 550
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
Are there future plans to support multiple success or fail actions? #569
Comments
@jerbersoft We dont plan on changing the schema of Actions in workflow json. But we can add a generic action, which takes other actions as input and executes them sequentially. |
@abbasc52 thanks for the response. I'm sorry, I don't understand the concept as it does not appear to be in the documentation. How are the Actions passed to the generic action? Through constructor or input parameters or context? Also, I'd like the idea of having to use DI containers when instantiating actions (if that is possible). I understand this is a tall ask but if you can point me to the right direction, I'll take it from there. Cheers. |
@jerbersoft sorry, if i was not clear enough, but what i meant is we will add capability of multiple actions.It may take sometime to finalize the design. I will keep this thread up to date |
@abbasc52 that would be great. also, since I am actively working on a project that uses Rules Engine, I might be able to help when I can. Do you already have some design documentation in place or anything that I can read in advance? Cheers! |
this project is no longer being maintained. please use my fork as it is being maintained. |
I know we can just simply use custom actions that will execute any number of actions. however, I am talking about when trying to build a facility to design rules and actions where you have prebuilt actions that you just want to "use" in a chain or parallel fashion.
for example:
If a certain rule is satisfied, I want to: a.) change something in the entity and then b.) send an email. These actions are prebuilt that can be reused in different rules and that they can execute in a chain or parallel depending on the config.
I just feel that creating custom actions with predefined multiple actions are like "hardcoding" them.
Are there plans to have this capabilities in the future?
The text was updated successfully, but these errors were encountered: