Running a FormAction from a custom action

Hello, I am trying to run a form action from within a custom action, but can‘t make it work…launching another custom action works fine, but not a form action…using the run() method for the form action does not work…is there a way to achieve this? Many thanks in advance for your help…

You can use the event FollowupAction to call the form.

Events are called in the return of the custom action, i.e. the end of the function, so I don know if this is what you need.

Best for me would be to stay within the custom action, but your approach is already helpful. Thanks a lot for your reply…

@cyril_zh when do you need to run a custom action? If you need to hit backend systems for different steps of the form, you could also overwrite some of the form methods that are called, for example the request_next_slot function handles the messages used to request the next slot.

Thank you, this helped a lot…

1 Like