[midPoint] Purpose and configuration of auxiliary archetypes
Yakov Revyakin
yrevyakin at gmail.com
Tue Aug 5 15:01:17 CEST 2025
Any ideas, suggestions? We know that there is an auxiliary archetype, we
know that it complements structural one. But how to use it to provide
appropriate specific for example for Employee and Contractor? For example
how to provide different algorithms for iterators referring to
"iterationSpecification". "iterationSpecification" is a part of object
templates but I can see that Midpoint skips auxiliary object templates.
On Mon, 4 Aug 2025 at 11:56, Yakov Revyakin <yrevyakin at gmail.com> wrote:
>
> https://docs.evolveum.com/midpoint/reference/master/schema/archetypes/configuration/
> says
> Auxiliary archetypes purpose:
> Allows you model more dynamic situations and complement the main
> (structural) archetype. For example, if the structural archetype is Person,
> auxiliary archetypes can be Employee, Customer, Student, Volunteer, and so
> on.
> Statement common for archetypes:
> Archetype assignments must be *direct *and non-conditional. Indirect
> archetype assignments (e.g. inducement in in a role) is not supported.
> Conditions, validity constraints and any other assignment parameters and
> settings are *not *supported for archetype assignments - and it is
> unlikely that they ever will be supported.
>
> Questions:
> - What is a right way to assign an auxiliary archetype if a structured one
> is already assigned via schemaHandling? Can we assign it from structural
> archetype object template with assignmentTargetSerach construct?
> - Can we manipulate auxiliary archetypes dynamically in some way,
> switching, for example, between Employee and Contractor auxiliary
> archetypes on top of Person archetype?
> - It seems to me that if an auxiliary archetype is linked with an
> appropriate object template the object template is ignored during
> processing (an object template of structural archetype is taken into
> account only). What is expected behavior? (I assigned auxiliary archetype
> via UI to test this point)
>
> Thanks in advance,
> Yakov
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250805/03241c28/attachment.htm>
More information about the midPoint
mailing list