[midPoint] Why does script in schemaHandling execute twice?
Ivan Noris
ivan.noris at evolveum.com
Thu May 9 09:55:56 CEST 2024
Hi,
please refer to
https://docs.evolveum.com/midpoint/reference/support-4.8/expressions/mappings/#why-are-the-expressions-and-conditions-evaluated-several-times
Best regards,
Ivan
On 9. 5. 2024 0:21, Maxwell, Gary via midPoint wrote:
> Can someone tell me why the following script executes twice? The first execution uses the existing isActive value, the second time uses the value I changed it to.
>
> <resource>
> <schemaHandling>
> <objectType>
> <attribute>
> <inbound>
> <source>
> <name>isActive</name>
> <path>$focus/extension/isActive</path>
> </source>
> <expression>
> <script>.
> <code>
> If (isActive == true)
> return false
> </code>
> </script>
> </expression>
> <target>
> <path>extension/isActive</path>
> </target>
> </inbound>
> </attribute>
> </objectType>
> </schemaHandling>
> </resource>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
--
Ivan Noris
Expert Identity Engineer
evolveum.com
More information about the midPoint
mailing list