Congrats to the team on the release of Summer '14 RC - Features are looking great!
Regarding the new Actions available on Models, Buttons, etc., is there a way to stop further actions from occurring from within an action?
For example:
Page Title Button has a multiple actions assigned
Action 1 - Run snippet
Action 2 - Run snippet/Save Model/etc.
Questions:
1) Is there a way to ensure that Action 2 does not get called if Action 1 fails? If I “throw” out of Action 1, Action 2 will not get called but then a javascript exception goes unhandled.
2) Along these lines, if Action 1 is a stock skuid action (e.g. save models), what happens to actions that follow if the action fails? It appears that if the Action is “Save Models” and it fails, no further actions are triggered. Correct? if yes, is this true of all stock actions where if it fails, further actions will not be triggered?
The use case is as follows:
Action 1 - Validate certain data points on models (e.g. business rules essentially). If validation fails, I do not want the Save to occur.
Action 2 - Save models
Thank you!
Question
Is there a way to stop actions from firing in Summer '14?
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.
.