@lalithajay
Be aware that source names in rules differ from the names you see in the UI!
Previously, you would reference a source like this:
String Source = "MySource [source]";
Account MyAccount = idn.getAccountByDisplayName(Source, "Yan Coelho");
However, all newly created sources now have a specific ID (you can find it in the events — for example, look at the creation event of the source and check the target value):
String Source = "MySource [source-12345678]";
Account MyAccount = idn.getAccountByDisplayName(Source, "Yan Coelho");
