Quantcast
Viewing all articles
Browse latest Browse all 6944

Join object from CS to MV when values are different

Hi,

I have two MAs, one on source AD and one destination AD

Basically, there are three attributes (mailNickName,uid and mail) for which the join is direct

Maping Group     Action     Metaverse Object Type     Resolution

mailNickName     Direct      mailNickname                    No

mailNickname     Direct       uid                                    No

mail                    Direct       mail                                  No

Till couple of months, the source AD had the same value for mailNickName but now they decide to change it (naming convention, ...)

So for new created object in destination AD, there is no more join in the mv

I tried with MapAttributesForJoin but still no join

            switch (FlowRuleName)
            {
                case "uidJoiner":
                    if (csentry["mailNickName"].IsPresent)
                    {
                        if (csentry["mailNickName"].Value.StartsWith("abcd_"))
                        {
                            string csvalue = csentry["mailNickName"].Value;
                            string mailNickName = "efgh_" + csvalue.Substring(csvalue.IndexOf("_")+ 1);
                            values.Add(mailNickName);
                        }
                        else
                        {
                            values.Add(csentry["mailNickName"].Value);
                        }
                    }
                    break;

                default:
                    throw new EntryPointNotImplementedException();
            }
            throw new EntryPointNotImplementedException();

Thanks for your help


Viewing all articles
Browse latest Browse all 6944

Trending Articles



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