[midPoint] Archetype in velocity template

Pavol Mederly mederly at evolveum.com
Mon Jun 14 19:25:13 CEST 2021


Hello Davy,

I have never done that, but doesn't the following work?

${midpoint.getArchetype(...)}

Best regards,

-- 
Pavol Mederly
Software developer
evolveum.com

On 14/06/2021 18:29, Davy Priem via midPoint wrote:
> Hi,
>
> I have a bulk task to send notifications to users and I would also 
> like to have their archetype name in the velocity template. I normally 
> use midpoint.getArchetype() function in scripts, but I can’t find how 
> to do this within a velocity template. Has anyone any idea?
>
> Best regards,
> Davy Priem
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20210614/dd0ac65a/attachment.htm>


More information about the midPoint mailing list