You can automate periodic execution of custom functions using Schedules. Custom functions are programs that allow users to manipulate data within AssetExplorer Cloud and other external applications.
You can associate one or more schedules with each scheduled function.
Role Required: SDAdmin
To schedule a custom function,
- Go to Setup > Automation > Schedules.
- Click New Schedule.
- Provide a name and description for the schedule.
- Under Custom Function, choose whether to use an existing custom function (scheduled function) or to create a new one.
- Create a new Custom Function: Select the custom function from the pop-up displayed. You can also edit the custom function before selecting.
- Select from existing Functions: Click Create Custom Function. Provide a name and description. Add the script to the editor and click Save and Choose. The custom function saved will be added to scheduled functions.
- Click Configure Schedule.
- Provide the date and time to start the execution.
- Select a frequency to run the custom function.
- Advanced settings will be available if you have set the custom function frequency to Daily, Weekly, Monthly, or Yearly. Enable Advanced and configure the interval and repetition.
- In Ends, you can terminate the schedule on a specific date or after a certain number of executions. You can also allow the schedule to execute indefinitely.
- Click Schedule after completing the configuration.
- Finally, click Save.
List View Actions
- Preview schedule: Click a schedule to expand and preview the details.
- Edit schedule: Click > Edit beside the required schedule.
- Enable/Disable schedule: Click > Enable/Disable against the schedule. You can also use the toggle option under the Status column.
- Delete schedule: Click > Delete beside the required schedule.
- Bulk Actions: You can enable, disable, or delete schedules in bulk. Select the schedules using the check boxes, click Actions, and choose the required action.
Completed and disabled schedules will display their statuses under the Next Run column.