[midPoint] Attributes of service approver
Jiri Brom
bromjiri at gmail.com
Thu Jan 5 13:08:31 CET 2017
Hi,
thanks but still the same error:
Attempt to resolve sub-path '@/name' on multi-value reference {
http://midpoint.evolveum.com/xml/ns/public/common/common-3}approverRef
J.
Jiří Brom
e-mail: bromjiri at gmail.com
CZ: +420723860707
AT: +436607144324
On Thu, Jan 5, 2017 at 12:23 PM, Martin Lízner - AMI Praha a.s. <
martin.lizner at ami.cz> wrote:
> 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 <+420%20737%20745%20571>
> 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 <+420%20274%20783%20239>
> 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
>>
>>
>
> _______________________________________________
> 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/9fa76e4c/attachment.htm>
More information about the midPoint
mailing list