[midPoint] Archetype in velocity template
Davy Priem
davy.priem at vives.be
Mon Jun 14 20:09:58 CEST 2021
Hi,
Thx. I forgot the curly brackets. ${midpoint.getArchetype($event.object.asObjectable()).name} did the trick.
Davy Priem
Op 14 jun. 2021, om 19:25 heeft Pavol Mederly via midPoint <midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>> het volgende geschreven:
Hello Davy,
I have never done that, but doesn't the following work?
${midpoint.getArchetype(...)}
Best regards,
--
Pavol Mederly
Software developer
evolveum.com<http://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<mailto:midPoint at lists.evolveum.com>
https://lists.evolveum.com/mailman/listinfo/midpoint
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto: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/dd4c4a4c/attachment-0001.htm>
More information about the midPoint
mailing list