[midPoint] getting old value in mapping, missing something in script

Jason Everling jeverling at bshp.edu
Tue Jan 29 17:12:16 CET 2019


I must be missing something, I scoured the forums and pages,

oldObj = midpoint.getFocusContext().getObjectOld();
oldValue = basic.getExtensionPropertyValue(oldObj, 'http://namespace',
'attribute1);
return oldValue;

Error:
No signature of method:
com.evolveum.midpoint.model.common.expression.functions.BasicExpressionFunctions.getExtensionPropertyValue()
is applicable for argument types: (com.evolveum.midpoint.prism.PrismObject,
java.lang.String, java.lang.String)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190129/a41e40b5/attachment.htm>


More information about the midPoint mailing list