mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- Removed workflow service from docker-compose files. - Updated environment configuration to remove workflow port. - Implemented new ComponentCodeAPI, ManualAPI, and WorkflowAPI for handling workflow operations. - Created QueueWorkflow service for managing workflow queue operations. - Developed RunWorkflow service to execute workflows with improved error handling and logging. - Added component metadata loading utility for dynamic component management. - Introduced documentation for JavaScript and Webhook components. - Enhanced overall structure and organization of workflow feature set.
499 B
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.