new dynamic Relation with a costant

Hello!

I have a problem…i tried to create a new dynamic relation based on an existing relation with one or more new relation fields
but i tried to put a constant on the left side of the relation i recieved an error.

subject_to_subjectreference relation:
[attachment=0]subjecttosubjectrefenrece.PNG[/attachment]

_relationOld = solutionModel.getRelation('subject_to_subjectreference')
_relationItems = _relationOld.getRelationItems()
for (var i=0; i < _relationItems.length; i++) {
    var item = _relationItems[i]
   _relationNew.newRelationItem(item.foreignColumnName, item.operator, item.primaryDataProviderID)
}
"Error during evaluation:Wrapped java.lang.RuntimeException: java.lang.IllegalArgumentException: cant create relation item primary dataprovider not found: codetypereachvia"

and when i tried to insert new relationItem with a constant i recieve the same error.

I tried to put LITERAL:‘costant’ but nothig

DEK4,

This will be fixed in release 6.1.4.

Rob

I see in servoy support.
Thanks.