You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
@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!
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: