Files
oneuptime/App/FeatureSet/Workflow/Docs/ComponentDocumentation/JavaScript.md
Simon Larsen f7cc8d2343 Update proxy_pass in Nginx configuration
Delete unused files and dependencies
Update API hostname in WorkflowService
Update API hostname in AnalyticsDatabaseService
2024-01-11 19:16:11 +05:30

499 B

This trigger lets you run custom JavaScript in your workflow.


// You can access any arguments by

args['your-argument']

// to return a value simply, 

return yourValue;

Things to note:

  • Code execution timeout is set to 5 seconds. If your code takes longer than this, we recommend using your own server. Send request from this workflow to your server.

  • You can use axios module. If you need access to more modules, please create an issue on GitHub and we will look into it.