Batch Assignment

The Batch Assignment plugin allows you to add to batches all assets in your project.

You can tweak how the plugin assigns assets to batches from its configuration. By default, it will assign the first 100 tasks to a batch named Batch-01, then the second 100 to Batch-02, and so on. Batch size, name, and more can be tweaked from plugin settings.

Cover

Batch Assignment

Cover

Custom Batch Assignment

Plugin Functionality

Adding the plugin to your organization will allow you, with one click, to assign to batches all assets in your project according to settings you set when running the plugin.

The plugin will process all assets in your project.

Currently, there is no way to only select specific assets as targets for the plugin.

Using the Plugin

From the Plugin Directory, search for the name of the plugin and add it to your organization. More information on installing plugins can be found in the Installing Plugins page.

The name of the plugin is Batch Assignment.

Usage

First, navigate to the project where you'd like to run the plugin.

Enter the Settings tab, then the Plugins section.

Find the plugin, and click on Open. A dialog will appear:

Ensure the dot before the plugin's name is green. The dot indicates the plugin's status, where green signifies the plugin's code is running, and red signifies the plugin's code is not running.

You will not be able to run plugins the code of which isn't running.

Tweak the settings in the Config JSON field and click on Run. The plugin will start assigning all of the assets in the project to batches according to the settings provided.

You may check the progress of the plugin from the Plugin Sessions dialog. More information on checking plugin progress here.

Plugin Configuration

From the Config JSON field, you may tweak the plugin's settings. Here are the settings available:

  • "assignment_type": Determines how assets are distributed into batches.

    • Options:

      • "Sequential"

      • "Random"

    • Example:

      • "assignment_type": "Sequential"

  • "batch_size": Specifies the number of assets to include in each batch.

    • Example:

      • "batch_size": 100

  • "sort_assets": Defines the sorting method to apply before batching.

    • Options:

      • "Default"

      • "external_id"

      • "asset_id"

    • Example:

      • "sort_assets": "external_id"

  • "batch_name_prefix": Sets a prefix to include at the beginning of each batch name.

    • Example:

      • "batch_name_prefix": "Batch"

  • "batch_name_separator": Defines the character or symbol used to separate the batch name prefix and number.

    • Example:

      • "batch_name_separator": "-"

  • "batch_name_add_zeros": Determines whether batch numbers should include leading zeros for consistent naming.

    • Example:

      • "batch_name_add_zeros": true

      • "batch_name_add_zeros": false

Last updated