Hi Gerhard,
Yes, it's absolutely possible. I have implemented this at my site.
The requirement at our site was IDM to provision AD users into different OUs(named by country) based on which country the user is from. The country is determined by the MX_FS_COMPANY_CODE_ID attribute.
I just wrote a function which determines the OU path based MX_FS_COMPANY_CODE_ID.
Once the function is written, call the function as shown in the following in CreateADSUser pass:
Also note that you have to update the Update user ACCOUNT attribute pass as well so the Account attribute is updated.
Let me know how you go. Thank you,
KV