GetBinaryAssetTask

Introduction

The GetBinaryAssetTask uses the OMN API to download an OMN asset.

Usage

Input is the ID of the asset to download and optionally the format. If no format is specified, per default the original asset is downloaded (instead of a preview format). In case of an error a RuntimeException is thrown which, when running inside async boundaries, leads to an incident. There are no error boundaries which could be caught.

Implementation

Delegate Expression: $\{getBinaryAssetTask}

Input Variables

Name Description Type

assetId

The ID of the asset to download

Long

format

The format of the asset to download.
Allowed values:
original (DEFAULT - would be the original image, NOT the ORIGINAL preview format)
previewThumbnail (would be the THUMBNAIL preview)
previewCoarse (would be the COARSE preview)
previewOriginal (would be the ORIGINAL preview)
previewOriginalPixel (would be the ORIGINAL_PIXEL preview)
previewOriginalVector (would be the ORIGINAL_VECTOR preview)
previewOriginalMultimedia (would be the ORIGINAL_MULTIMEDIA preview)

String

Output Variables

Name Description Type

assetFile

The downloaded file

File

Welcome to the AI Chat!

Write a prompt to get started...