[midPoint] Attributes of service approver

Martin Lízner - AMI Praha a.s. martin.lizner at ami.cz
Thu Jan 5 12:23:23 CET 2017


Hi, try this:

<equal>
    <path>approverRef/@/name</path>
    <value>...</value>
</*equal*>

https://wiki.evolveum.com/display/midPoint/Updated+Query+API

Martin Lízner
solution architect

gsm: [+420] 737 745 571
e-mail: martin.lizner at ami.cz <jmeno.prijmeni at ami.cz>


AMI Praha a.s.
Pláničkova 11
162 00 Praha 6
tel.: [+420] 274 783 239
web: www.ami.cz



[image: AMI Praha a.s.] <http://www.skyidentity.com/>

Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
písemnou formu.


2017-01-05 11:36 GMT+01:00 Jiri Brom <bromjiri at gmail.com>:

> Hi all
>
> I have a small issue:
>
> My task is to create a service, assign user(s) to it and send it to a
> resource.
> In the resource I need to work with both attributes, lets say:
> "serviceName" = "test.service.org", "users": "[John, Mike, Peter]".
>
> I was thinking about using the field "Approver". However, I can't figure
> out how to access the Approver's attributes since it is a reference to
> another object of UserType.
>
> I tried something like:
> $focus/approverRef/name
> $focus/approverRef/targetName
>
> But nothing works.
> Should I choose totally different approach?
>
> Thank you for your answers!
>
>
> Jiří Brom
>
> e-mail: bromjiri at gmail.com
> CZ: +420723860707 <+420%20723%20860%20707>
> AT: +436607144324 <+43%20660%207144324>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170105/c390bca4/attachment.htm>


More information about the midPoint mailing list