As Rob would say, these are definitely have your cake and eat it too types of items but would love to see the following features:
1) Custom Actions - Similar to custom components with a builder, would be very useful to write custom actions that would appear in the list of available actions within the action framework. This can all be done via snippets so the functionality exists today, however having custom actions would enable a declarative approach to more common actions that take place once the custom action is written.
2) Action Conditions - Similar to rendering conditions, would be very helpful to have one of the below. For situations where a large number of actions are invoked based on a triggering event (e.g. button press), there could be a slight deviation of which actions should trigger based on some condition. This is possible currently by having two buttons each conditionally rendered based on that condition. However, in the case where a lot of the actions are in both buttons, this creates a support/maintenance issue and increases risk when changes are needed. I know there is talk about a “shared/global” action sequence concept that might help along these lines but having one of the below would allow configuration to be in once place instead of multiple.
a) Conditions on an action that would dictate whether or not an action should be invoked
b) Conditional Branching that would move through subsequent actions based on conditional evaluation (e.g. if condition is true do this sequence of actions else do this other sequence of actions).
Note - The current workaround I have used for this is to have an action that runs a snippet that evaluates the condition I need and returns true in one case and false in another. This allows me to use the “onerror” branch for “else” operations, however I can only get away with this approach when the “else” is very simple subsequent actions (e.g. page redirect).
Thank you!
Wish List Items - Action Conditions and Custom Actions
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.