CheckoutView in per-account Workflow

Hi experts,

I'm using reconcilation to load my users from a LDAP. During the reconcile process I invoke a workflow by selecting it as the per-account workflow in the reconcilation policy.

Within the workflow I'm able to refer to the accountId the user has in the LDAP resource by <ref>accountId</ref>. What fails is to refer to the accountId the user has in IDM (this should work by <ref>userName</ref> according to the manual).

The problem is that the IDM accountId is generated randomly so I can't use the resource one's to get it. As a result the folowing checkoutView activity fails:

<Activity id='1' name='checkoutUser' audit="true">

<Action id='0' application='com.waveset.session.WorkflowServices'>

<Argument name='op' value='checkoutView'/>

<Argument name='type' value='User'/>

<Argument name='id'>

<ref>userName</ref>

</Argument>

</Action>

</Activity>

Any advise would be appreciated!

Best regards,

Sebastian

[1125 byte] By [suelmanna] at [2007-11-26 19:10:59]
# 1
You will get SIM accountId from <ref>userName</ref> only for the situation "confirmed". Otherwise it would be null. To get the SIM accountId you can query the repository for the attribute condition resourceAccountIds = $(accountId)@$(resourceId)
bchackoa at 2007-7-9 21:07:35 > top of Java-index,Web & Directory Servers,Directory Servers...