<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Marcos,</p>
<p>you can always use arbitrary groovy code in your mappings, even
to do repository searches and the like. It is to be used only as
the last resort, because it can get complicated and
performance-degrading. <br>
</p>
<p>But from your question I couldn't comprehend what exactly you are
trying to achieve. Could you provide an example?</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
<div class="moz-cite-prefix">On 10.09.2017 5:27, Marcos Arrobas
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAM3FVZU5m04MVpEOUWUnZTCV9Cic6D62+SZ0r-0_s-C65b79rQ@mail.gmail.com">
<div dir="ltr">Hi. I have been looking for several days to respond
this problem without success.<br>
<br>
I am trying to give the role of approver to a user, in a
organization template (object template). When I add a approver
to an organization, I want give this role to the user
automaticly in the same operation<br>
<br>
Is there a way to assign the approver to an organization and the
Approver role to a user in the same operation? Can i do this in
a mapping tag into the a Organization Template ? Im playing now
with the mapping / target attribute in the Org. Template without
success. Am I on the right path?<br>
<br>
I have found many examples of mappings between the same object (
attributes to attributes, attributes to assigments ), but I have
not found any about how to navigate between objects. Any help or
guidance will be greatly appreciated.<br>
<br>
Thanks in advance</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</body>
</html>