Asynchronous operations

To reduce adverse impact on performance, Adobe Experience Manger Assets processes certain long-running and resource-intensive asset operations asynchronously. Asynchronous processing involves enqueuing multiple tasks and eventually executing them in a serial manner subject to the availability of system resources. These operations include:

  • Deleting many assets.
  • Moving many assets or assets with many references.
  • Exporting and importing asset metadata in bulk.

You can view the status of asynchronous tasks from the Async Job Status page.

NOTE

By default, the Assets tasks execute in parallel. If N is the number of CPU cores, N/2 tasks can execute in parallel, by default. To use custom settings for the task queue, modify the Async Operation Default Queue configuration from the Web Console. For more information, see queue configurations.

Monitor the status of asynchronous operations

Whenever Assets processes an operation asynchronously, you receive a notification in your Experience Manager Inbox and via an email. To view the status of the asynchronous operations in detail, navigate to the Async Job Status page.

  1. In the Experience Manager interface click Operations > Jobs.

  2. In the Async Job Status page, review the details of the operations.

    Status and details of Asynchronous operations

    To ascertain the progress of an operation, see the Status column. Depending upon the progress, one of the following statuses is displayed:

    • Active: The operation is being processed.
    • Success: The operation is complete.
    • Fail or Error: The operation could not be processed.
    • Scheduled: The operation is scheduled for processing a later time.
  3. To stop an active operation, select it from the list and click Stop stop icon from the toolbar.

  4. To view extra details, for example description and logs, select the operation and click Open open_icon from the toolbar. The task details page is displayed.

    Details of a metadata import task

  5. To delete the operation from the list, select Delete from the toolbar. To download the details in a CSV file, click Download.

    NOTE

    You cannot delete a task if its status is either active or queued.

Purge completed tasks

Experience Manager Assets executes a purge task every day at 0100 hours to delete completed asynchronous tasks that are more than a day old.

You can modify the schedule for the purge task and the duration for which details of completed tasks are retained before they are deleted. You can also configure the maximum number of completed tasks for which details are retained at any point of time.

  1. In the Experience Manager interface click Tools > Operations > Web Console.

  2. Open the Adobe CQ DAM Async Jobs Purge Scheduled task.

  3. Specify the threshold number of days after which completed tasks are deleted and the maximum number of tasks for which details are retained in history. Save the changes.

    Configuration to schedule the purging of asynchronous tasks

Configure threshold for asynchronous delete operations

If the number of assets or folders to be deleted exceeds the set threshold number, the delete operation is performed asynchronously.

  1. In the Experience Manager interface click Tools > Operations > Web Console.

  2. From the Web Console, open the Async Delete Operation Job Processing configuration.

  3. In the Threshold number of assets box, specify the threshold numbers to asynchronously delete assets, folders, or references. Save the changes.

    Set the threshold limit for the task to delete assets

Configure threshold for asynchronous move operations

If the number of assets, folders, or references to be moved exceeds the set threshold number, the move operation is performed asynchronously.

  1. In the Experience Manager interface, click Tools > Operations > Web Console.

  2. From the Web Console, open the Async Move Operation Job Processing configuration.

  3. In the Threshold number of assets/references box, specify the threshold numbers to asynchronously move assets, folders, or references. Save the changes.

    Set the threshold limit for the task to move assets

On this page