[midPoint] Attributes of service approver

Jiri Brom bromjiri at gmail.com
Thu Jan 5 11:36:33 CET 2017


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
AT: +436607144324
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170105/2c00188a/attachment.htm>


More information about the midPoint mailing list