Hi all,

I am running the SAP UM in Fanout Mode to couple of 100 systems.

On problme is, that a SAP System may have one role assigned multiple
times with different validTo and validFrom values.
During the Migrate process I have to query the existing activity groups
- but I would like to avoid getting all of the AGR. So I tried to use
the query token and used the matching Attribut ACTIVITYGROUPS:AGRNAME
with the value of the rolename I am searching for and set the read

<do-set-local-variable name="lv-read-result" scope="policy">
<token-query class-name="User">
<arg-match-attr name="ACTIVITYGROUPS:AGR_NAME">
<arg-value type="string">
<token-local-variable name="lv-sap-role-name"/>
<token-text xml:space="preserve">ACTIVITYGROUPS:TO_DAT</token-text>

Problem is, that I will get all of the Dates from ALL Activitygroups -
but I need only the dates from the Activity Group I am searching for. It
would also possible to return the ACTIVITYGROUPS Attribut (wich is
structured), but even here I get them ALL and not only the instances
which macht the rolename

I know that the problme is in my head and I am wrong in the use of the
query token. But due to the structured type of the ACTIVITYGROUPS
Attribute I miss the point how to use this correctly with the query

thanks in advance.


ukrause's Profile: https://forums.netiq.com/member.php?userid=3280
View this thread: https://forums.netiq.com/showthread.php?t=56673