Hello.
I have a question which I think is related to type casting.
In the model space there is an entity of type Sample with a relation of type amount to an entity of type datatypes.Integer (which also exists in the model space). The following transformation rule does not work

if I recall correctly, the call value(B) gives a string return value. If you know, that the correct value is an integer, you could use the toInteger conversion operator, such as follows (I hope, I remember the syntax):