Advanced Scripting



On This Page

Overview

The advanced scripting feature available when creating a job through the user interface allows you to set configuration options that are not available in the user interface. This means you can configure the job without using a REST API tool such as Postman. Instead, you would add the code to this page. Additional configuration options may be added to the user interface as part of future releases, so be sure to review the release notes for each release to see what’s been added.

Refer to the REST API Transfer Job Configuration Options for information about the configuration options available using the REST API.

Configure Additional Transfer Feature Options

These options are not surfaced in the DryvIQ user-interface yet but can be configured through the Advanced Scripting option when creating a new job

 

{ "transfer": { "audit_level": "trace", "batch_mode": "always", "failure_policy": "continue", "item_inspection_policy": "all", "large_item": "skip", "lock_propagation": "ignore", "versioning": { "preserve": "native", "select": "published" }, "performance": { "parallel_writes": { "requested": 4 } }, "timestamps": true, "empty_containers": "create", "max_items_per_container": 10000, "duplicate_names": "rename", "item_overwrite": "overwrite", "trust_mode": true, "tags": "none" } }

 

Configure a Custom Job Schedule 

There are more job schedule configurations than what is available in the DryvIQ user interface (UI). To leverage these options, see Scheduling a Job. The following example shows scheduling a job to run using the following settings:

  • everyday

  • every hour

  • between the hours of 6:00 AM GMT - 9:00 PM GMT

  • No schedule to stop, will run indefinitely

  • The next job run will be 1 hour after the last run has completed.

 

{ "transfer": { }, "schedule": { "mode": "auto", "days": "everyday", "repeat_interval": { "value": 3600000, "unit": "ms" }, "start_window": { "hr": 6, "min": 0, "ms": 0, "sec": 0 }, "end_window": { "hr": 21, "min": 0, "ms": 0, "sec": 0 } } }

 

 

DryvIQ Migrate Version: 5.6.2.4175
Release Date: March 7, 2024