SetGlossaryAttributeTask

Introduction

The SetGlossaryAttributeTask uses the OMN API to write a single attribute value to a glossary.

Usage

Writes the given attributeValue to the given attributeIdentifier at the given glossary which is either defined by id or name.

Implementation

Delegate Expression: $\{setGlossaryAttributeTask}

Input Variables

Name Description Type Default Value

pimSchemaVersion

The PimType XSD schema version to use

String

5.6.0

glossaryId

The ID of the glossary to write the attribute value to.

Either glossaryId or glossaryName must be set. If both are set then the id takes precedence

Long

glossaryName

The Name of the glossary to write the attribute value to.

Either glossaryId or glossaryName must be set. If both are set then the id takes precedence

String

attributeIdentifier

The identifier of the attribute to write to.

If it is not set (null) the PDT will do nothing (no exception, just returning).

String

attributeValue

The value to write

The value must be of the appropriate String representation for its type:

BOOLEAN: String needs to be 'true' (case insensitive) to evaluate to boolean value true, otherwise it will evaluate to false (same as Boolean.parseBoolean() in Java)

DATE: String needs to be in UTC ISO-8601 format. Example: '2011-12-03T10:15:30Z'. You can use the DateTimeFormatter.ISO_INSTANT.format() method in Java to generate such a String.

NUMBER: String needs to be parsable as double value with a dot '.' as decimal separator (same as Double.parseDouble() in Java)

STRING: Just use the string :)

If the attributeValue is not set (null) the PDT will do nothing (no exception, just returning).

String

Output Variables

None

Welcome to the AI Chat!

Write a prompt to get started...