Monday, March 15, 2010

How to Propagate Data from Xellerate User to AD User Resource

To update AD User process form when the User definition is updated. Here we are using user's Business Phone as an example. When user's phone no. is changed in user profile, this change is propagated to AD process form

1)Add UDF USR_UDF_BUS_PHONE
2)Double click on "Lookup Definition" and query for this "Lookup.USR_PROCESS_TRIGGERS" code.
3)Add "Lookup Code Information" like this.

Code Key >>>USR_UDF_BUS_PHONE Decode>>>>Change Business Phone Number Language>>>en Country>>>>US

4) create one adapter of type process task

i)Move to Variable List tab and create a variable "var1" Resolve at run time.
ii)Add logic task -> SET VARIABLE and click on continue
iii)In Add Set Variable Task Parameter dialog, select Adapter return value in variable name drop down, Operand Type as Variable, Operand Qualifier ->"var1" created in 4i).

5)Add one task AD User process named "Change Business Phone Number" the task name should be exactly same as Decode value in lookup definitions. make it conditional and also check "Allow Multiple Instances".

6)In "Integration" tab of task add adapter you have created in 4) map adapter variables. Adapter Return Variable>> Process Date>>map with form field which you want update with user's Business Telephone USR_UDF_BUS_PHONE field. adapter variable>>>User Definition>>>map with user's Business Telephone USR_UDF_BUS_PHONE field.