[midPoint] How to set returnType of custom function to an object like AssignmentType?
Alcides Moraes
alcides.neto at gmail.com
Fri Jun 21 00:13:49 CEST 2024
Hello list,
I have some code to create complex AssignmentType objects that I want to reuse as a custom function library
However when I try to call a function, I get this error:
Expected class java.lang.String type, but got class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType in (new) custom function execute….
I have set <returnType> tag of the function as
<returnType>t:AssignmentType</returnType>
I also tried
<returnType>com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType</returnType>
None of this worked. Anything I’m missing ?
I’m still on Midpoint 4.4.8, by the way.
Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6278 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20240620/3d03a6f5/attachment.bin>
More information about the midPoint
mailing list