[midPoint] Force recomputation of a user in a hook

Nicolás Rossi nrossi at rakkau.com
Tue Mar 18 17:00:34 CET 2025


Hi Marie, you can use the RPC endpoint:

https://docs.evolveum.com/midpoint/reference/support-4.9/interfaces/rest/endpoints/rpc/

Kind regards,

*Nicolás Rossi*
Director | Rakkau
+54 (911) 6041-3920
nrossi at rakkau.com
www.rakkau.com


On Tue, Mar 18, 2025 at 12:59 PM Marie Ioannou via midPoint <
midpoint at lists.evolveum.com> wrote:

> Hello everyone,
>
> I have a hook that sets a validTo date when a user loses all their
> projections. In this case, the user is assigned the "inactive" archetype,
> along with a minimal objectTemplate.
> Conversely, if the user gains a projection (it left for a while from the
> Resource and came back), another hook removes the validTo date and the user
> loses their "inactive" archetype.
> The issue I'm facing is that when the user loses their archetype, I need
> to trigger manually a recomputation so that the system applies the default
> objectTemplate to the user.
> Do you know how I can force this recomputation within a hook without
> manual intervention ? Or do you have another solution ?
>
>
>
> *Dr. Marie Ioannou*
>
> IAM Consultant
>
>  *[image: itc-logo] <https://www.itconcepts.ch/>*
>
>
>
>
>
>
> _______________________________________________
> 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/20250318/1f91383e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-itc-logo.png
Type: image/png
Size: 8803 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20250318/1f91383e/attachment-0001.png>


More information about the midPoint mailing list