[midPoint] Manual Resource - defaultAssignee

Pavol Mederly mederly at evolveum.com
Wed Sep 2 21:47:21 CEST 2020


Ľubomír,

I am afraid it is not currently possible:

https://github.com/Evolveum/midpoint/blob/db5bdf67b9c8a608729de14098786310aeaaaceb/provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/ManualConnectorInstance.java#L223-L244

Best regards,

Pavol Mederly
Software developer
evolveum.com

On 02/09/2020 21:11, Lubomir Odlevak via midPoint wrote:
> Hi,
>
> I have manual resource:
> https://github.com/Evolveum/midpoint/blob/4ba4ed83d06f3426b6e97e9ff336418461c72ac5/model/model-intest/src/test/resources/manual/resource-manual.xml 
>
>
> but I don't want only one fixed value for defaultAssignee :
> *<connectorConfiguration>
> <conf:defaultAssignee>administrator</conf:defaultAssignee>
>     </connectorConfiguration>*
> *
> *
> and  I want to modify defaultAssigne dynamically for every user.
> I have added following code snippet into connectorConfiguration, but i 
> can't identify focus or account object in the <code>:
> *<connectorConfiguration> *
> *       <conf:defaultAssignee>
>             <expression>
>                 <script>
>                     <code>*
> **// myCode can't identify identity
> *                      </code>
>                 </script>
>             </expression>
>         </conf:defaultAssignee>
> *
> *  </connectorConfiguration> *
> *
> *
> I didn't find any way to do that. Any idea how to make it ?
> *
> *
> Thanks
> Best Regards
> Lubo
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200902/a4a89863/attachment.htm>


More information about the midPoint mailing list