Creating custom tasks
Creating custom tasks in FilesWorkflow allows you to extend the platform's capabilities to meet your specific needs. Here's how to create a custom task:
Accessing the Creation Page:
Navigate to "My Services / Tasks" and click "+Create"
Task Setup:
Name: Enter a descriptive name for your task
Description: Provide a detailed explanation of the task's purpose and function
Visibility: Choose between "Public" or "Private"
Execution Environment: Select "Run on Browser" or "Run on Server"
Code Input:
Enter JavaScript code directly into the provided editor, or
Click the "Import File" button to upload a pre-written or compiled JS file
Note: Currently, only single-file tasks are supported
Advanced Settings:
Click the "Advanced" button in the upper right corner of the page to open the advanced settings panel
For detailed information on advanced settings, please refer to the Advanced Settings link
Creating the Task:
Once all settings are configured, click the "Create" button to finalize your task
Testing (for Browser Tasks):
If the task is set to "Run on Browser", you can perform an online test directly from the creation interface
Using and Sharing:
After creation, your task is ready to use directly or to be incorporated into workflows
If set to public, other users can search for and use your task
Remember, well-documented and efficiently coded tasks can greatly enhance your workflow capabilities and can be valuable to the FilesWorkflow community if shared publicly.
Last updated