Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If the attribute selected for the AggregateId is not part of a singleton then the target instance parameter can be used to select the instance on which the aggregate Id must be stored. If the target instance has no value, then it is assumed that the selected attribute either belongs to a singleton entity, or that there is an active instance present. If not, an error is thrown. The target instance must be single valued.

Parameters

Name
Direction
Description
Type
Occurrences
Required
AggregateTypeInputSelect the aggregate you want to create and store. This is a list of the aggregate definitions.AggregateSingle valued
true
Yes
AggregateIdOutputThe attribute on which you want to store the created aggregate Id.AttributeSingle valued
true
Yes
TargetInstanceInputThe instance you want to use for storing the aggregate Id.Expression resulting in an instanceSingle valued
false
No
VersionIDOutputOutputThe attribute on which you want to store the version Id of the created aggregate.AttributeSingle valued
false
No
StoreInstancesInputThe starting point instance(s) for storing.Expression(s) resulting in instance(s)Multi valued
false
No

User-set vs system-set

When storing an aggregate, only values that are user-set are stored, all system-set values are not stored. The data of the aggregate is stored in a XML blob.

...

Below an example is given for a create service with versioning.

Service call definition

Image Added

Aggregate definition

Image Added

ER diagram

Image Removed

Aggregate definition

Image Removed

Service definition
Image Removed

Visual overview of aggregate concepts

...