Cloud rule to map Identity attribute with source attribute

I’m trying to map IDN attribute BU_ID with EBS source data BU_ID keeping cost center code as account ID in account schema of EBS source. The account attribute transform is not working since identities are uncorrelated which are coming from EBS source.

<?xml veresion='1.0' encoding='UTF-8'?>
<!DOCTYPE Rule PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Rule name="Identity BU_ID Rule" type="IdentityAttribute">
<Description>Calculate the BU_ID from EBS.</Description>
<Source><![CDATA[

	String EBS_SOURCE="EBS [source]";

	String  costCenterCode = null;

	costCenterCode = identity.getAttribute("costCenterCode");

	if(idn.getAccountByNativeIdentity(EBS_SOURCE,costCenterCode)!=null){

  		String attrValue = idn.getAccountAttribute(EBS_SOURCE, costCenterCode,"BU_ID");

		return attrValue;

	}

	else

		return null;

  ]]></Source>
</Rule>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.