Run code
Usage
Remarks: Running Actions from Run Code
Not the best way (the "beginner approach")
// In this section, a call to the action myAction() is successfully initiated.
// But, the resolve() call executes immediately after, ending the Run Code action node.
// If myAction has any side-effects, the next steps in the code (or action nodes
// after Run Code), the business logic might not work as intended.
// Also: It myAction fails, nothing catches that error
myAction()
resolve()The best way (the "professional approach")
Last updated
Was this helpful?
