none
Sync rule - Allow Null to destination is allowing null even if unchecked RRS feed

  • Question

  • I added a new rules extension code to AD MA and after that I ran AD FS. AD FS triggered allow null values to be passed to various attributes in AD even if Allow null is not selected in sync rule flow. What might have caused this issue? This is the code I added.

            void IMASynchronization.MapAttributesForImport( string FlowRuleName, CSEntry csentry, MVEntry mventry)
            {
                switch (FlowRuleName)
                {
                    case "homeMDB":
                        {
                            if (csentry["homeMDB"].IsPresent)
                            {
                                if (mventry["employeeID"].IsPresent)
                                {
                                    mventry["homeMDB"].Value = csentry["homeMDB"].Value.ToString();
                                }
                            }
                        }
                        break;
                }

            }


    • Edited by fim_sc Sunday, June 15, 2014 2:56 PM
    Sunday, June 15, 2014 2:56 PM

All replies

  • "Allow null" is an option only for Export Flow (in configuration)

    when you have flow homeMDB -> (import, advanced) -> employeeID and in advanced view you have specified "homeMDB" as flow rule name, this part that you have presented is flowing NULL to metaverse once user does not have homeMDB or he does not have employeeID in metaverse. But if he has both values, homeMDB is filled.

    Is it what you have wanted?


    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

    Sunday, June 15, 2014 6:42 PM