Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

[SYNCRULE-INFO] Dealing with the Null Function in a Sync Rule

$
0
0

Hello.  Tim Macaulay here from the FIM Support team here at Microsoft.  Recently I came across an issue that I felt needed a bit more clarification in how it works currently.

Recently I worked an issue where FIM was recognized as deleting the value from an attribute on outbound flow to Active Directory.  Reviewing the Active Directory Outbound Synchronization Rule.  The Active Directory Outbound Synchronization Rule contained an outbound attribute flow that contained a custom expression with an IIF statement.  If the IIF statement evaluated to false then we passed the Null Function.  This Null Function cleared the value for the destination attribute.

This seemed a bit weird, so I decided to reproduce the issue in my lab. 

First I created a Synchronization Rule with an IIF statement.  For my example, I am working with the department attribute.

 

 

Once I got the IIF Statement entered into the Synchronization Rule I got it into the Metaverse.  I then brought my test user (SyncRule Tester) into the Metaverse and fully synchronized it.  I then Previewed my test user object and found that nothing was happening to the Final Value column for the department attribute.

 

Since nothing was happening during the Preview of the object on the AD Outbound Synchronization Rule, I decided to Export the object to Active Directory to see if it updates the department attribute.  As we can see the department attribute is not updated and still reflects the value of None.

 

 

I go back to the AD Outbound Synchronization Rule and on the Destination Tab, I place a check in the "Allow null value to flow to destination". 

 

Once I do this, I reproduce the test.  Now we can see that the value is [Deleted] in the Final Value column. 

 

We can also see this in the Pending Export tab as well. 

 

CONCLUSION

In conclusion, we can understand the following:

 

  1. If you utilize the Null Function in a Synchronization Rule and do not check the "Allow null value to flow to destination" then nothing will happen to the Final Value of the attribute in question.

     

 

  1. If you utilize the Null Function in a Synchronization Rule and check the "Allow null value to flow to destination" then the Final Value of the attribute in question will be removed.

     

REFERENCE LINKS

Here are some good references link that coincide with this blog.

Synchronization

Dealing with the Null Function

  • This is a general article with a listing of the different functions available inside of FIM.
     
  • This is a Forums posting that talks about the Null Function without the distinction of the Allow Null check box

General


Viewing all articles
Browse latest Browse all 36188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>