###
### Create a Sync Rule: ISR HR Person
###
$newSRParameters = @{
   DisplayName 			  = 'ISR HR Person'
   Description 			  = 'Inbound Sync Rule: HR Person'
   ManagementAgentID 		  = ('ma-data','DisplayName','HR')
   ConnectedObjectType 		  = 'person'
   ILMObjectType 		  = 'person'
   DisconnectConnectedSystemObject = 'False'	
   CreateConnectedSystemObject 	  = 'False'
   CreateILMObject 		  = 'True'	
   FlowType 			  = '0'
   Precedence 			  = '1'
   RelationshipCriteria 		  = '<conditions><condition><ilmAttribute>firstName</ilmAttribute><csAttribute>FirstName</csAttribute></condition><condition><ilmAttribute>lastName</ilmAttribute><csAttribute>LastName</csAttribute></condition></conditions>'
    PersistentFlow = @(
 '<import-flow><src><attr>FirstName</attr></src><dest>firstName</dest><scoping></scoping></import-flow>'
'<import-flow><src><attr>JobTitle</attr></src><dest>jobTitle</dest><scoping></scoping></import-flow>' 
'<import-flow><src><attr>LastName</attr></src><dest>lastName</dest><scoping></scoping></import-flow>' 
'<import-flow><src><attr>Status</attr></src><dest>employeeStatus</dest><scoping></scoping></import-flow>'
'<import-flow><src><attr>UserID</attr></src><dest>accountName</dest><scoping></scoping></import-flow>'
'<import-flow><src><attr>FirstName</attr><attr>LastName</attr></src><dest>displayName</dest><scoping></scoping><fn id="+" isCustomExpression="false"><arg>FirstName</arg><arg>LastName</arg></fn></import-flow>'
    )
}
New-FimSynchronizationRule @newSRParameters

Last edited Aug 14, 2012 at 6:53 PM by CraigMartin, version 1

Comments

No comments yet.