I have a calculation rule and like to write back a new geometry and an attribute. I wrote this very simple calculation for testing:
return {
'result': {
'attributes': {'BEMERKUNG':"Test"},
'geometry': Rotate($feature,90)
}
}
And I use this in a validation service on our Enterprise Portal. The feature class is hold in an Enterprise Geodatabase and is versioned as branch.
When I run "Evaluate Rules" I get the following Error:
I can't see what I'm doing wrong.