on 10-01-2010 2:15 PM
Hi,
We have two golden sources for new identities Staff from HCM, Students from our Student Record system. For these sources we can call a custom script to generate their MSKEYVALUE (IT Account Id) using their First Name and Surname etc. We then append a unique no for each prefix combination, so for example Paul Evans has an Id of PE1, the next person with the same prefix, e.g. Philip Edmonson will get PE2 etc.
We have this all working ok. However when we wish to create manual identities via the UI, if we expose MSKEYVALUE on the screen it is mandatory. However we want to be able to have a script called during the saving of the MX_PERSON record, to derive this MSKEYVALUE from their names as entered on the UI.
We've tried leaving MSKEYVALUE of the UI, IdM then automatically assignes a value like MX_9999 where 9999 is the MSKEY of the record. However we cannot get a provisioning task to then change the MSKEYVALUE by calling our script.
Anyone done something like this before?
Cheers
Paul
Hello Paul,
you can just add another action task (to generic) to your UI-Task, where you change the automatic mskeyvalue to your own. You can do it by a script that uses:
uIS_SetValue(mskey,0,"MSKEYVALUE",newMSKEYVALUE);
That works for us.
Best regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Thomas,
We were trying to do it via a To Identity Store pass which meant you couldn't really map MSKEYVALUE twice. The generic pass with a script works.
Also glad to learn that you can set attributes via a script via the internal function. In the help file for internal functions this uIS_SetValue function is not listed and I could seem to find anywhere which had the details of this function. However, searching the help file for the uIS_SetValue function does return the help for it.
This works on our system now. Brilliant!
-Paul
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.