Can we execute a custom script function in Wappler?

Calling a JS function from Wappler is quite easy.
There are two ways:

  1. Use a static event. For eg: on error event, just call the function.
  2. Use flows. In the dynamic event of on error, instead of selecting actions, select flow. There, one of the steps is called run JS. There, just put the function name, without parentheses. And arguments, if any, use the grid just below that input.
1 Like