Get All Attribute Drop Down Definition

The GetAllAttributeDropDownDefinitionActivity can be used to retrieve the values of drop down attributes.

Input Data

Entity Id

The id of the value that needs to be retrieved. This id may be a part of a Changes Object.

For Example:

"Changes": [ { "PropertyName": "ext_special_meal", "ValueBefore": 33, "ValueAfter": 25, "ChangeType": 1, "Operation": 1 } ]

Properties

The activity supports these tags: id, serialized_value, display_name, name_key

Note: At the moment the activity does not support the * field specifier.

Attributes

No more fields are supported, so this should be return []; or null.

Query String

Can be a filter Expression as described in API-V2 REST Querystring-Parameter

An example would be:

return `filter=or(id eq ${changedAttributes.ext_special_meal_alt}, id eq ${changedAttributes.ext_special_meal_neu})`;

Output Data

The result can be retrieved via activities.ActivityName.ApiObjects() and is a JSON Object.

For example:

activities.getAllDropDowns.ApiObjects() = [ { "display_name": "Kosher meal", "id": 33, "name_key": null, "serialized_value": "<string xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/\">Kosher meal</string>" }, { "display_name": "None", "id": 36, "name_key": null, "serialized_value": "<string xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/\">None</string>" } ]

 

© ITSENSE AG. Alle Rechte vorbehalten. ITSENSE und CoreOne sind eingetragene Marken der ITSENSE AG.