- Here we are going to discuss the steps required in detail, to extend a connector in OIM for provisioning to target system. Steps are similar for OOTB connectors like OUD/OID/AD connector.
- In this blog, we are extending OUD connector for a custom field MySSN as per the project requirement.
- It is divided into 2 sections. First section for user creation and second section for user modification.
- Consider a new custom field is created in OIM user form as MySSN as below.
- Create MySSN field in OUD process form in Design Console under Form Designer.
- To prepopulate the value from user form to process form do below configuration in pre- populate tab of process form.
- Go to sysadmin console------> create a sandbox ------> create a new form ----->Attach new form to OUD Application Instance -------->publish sandbox
- Go to Lookup.LDAP.UM.ProvAttrMap and add MySSN value as below
code
key -------> OIM value (as per process form Field Label)
decode key -------> OUD value (in this
case it is postalCode)
(These values are case sensitive; provide exact
correct values)
- Now if provision a new user to OUD MySSN value should propagate from OIM to OUD.
2.
Modification in user form attribute
to propagate to OUD:
- Create two tasks as Change MySSN and MySSN Updated in process definition of LDAP User.
- Change MySSN task will bring the changes from OIM User form to Process form and MySSN Updated task will bring changes from OIM process form to OUD Target.
Change MySSN
Task
MySSN Updated
Task:
- Now if we change MySSN value in OIM user form, then go to resource history of already provisioned account of OUD, and add Task Change MySSN, then MySSN Updated task will auto trigger and propagate the modified value to OUD.
- However, to automate this process we need to make changes in Lookup.USR_PROCESS_TRIGGERS lookup.
- Here USR_UDF_MYSSN is the USR DB column name and Change MySSN is the exact task name.
- This is used to automate the trigger of Change MySSN Task if MySSN attribute changed in OIM User Form.
- Change MySSN Task in turn triggers MySSN Updated Task, which updates MySSN value in OUD.
Testing:
- Created a new user in OIM with MySSN value as 760001 and the same value propagated to OUD while user creation.
- Now modify the value in OIM user form to 560045 and found that the same value reflected in OUD.
- Check in Resource History that Change MySSN and MySSN Updated Tasks triggered as expected.
*************Thanks For Visiting**************