System.Exception: BinaryExpression.Eval: types differ after PromoteToCommonType

Version 1

    Details

    LDAP Imports no longer importing new users. Existing accounts are updated but no new users are imported.


    Error returned shows: System.Exception: BinaryExpression.Eval: types differ after PromoteToCommonType

     


    Resolution

    This is caused by a business rule on the Employee object that is designed to populate a boolean (logical) field with a 1 for True. The application does not like using 1 for True and 0 for False and would like the actual text value.


    Once we modified the rule to use True instead of 1, there were no more errors and the LDAP import started working as expected.

    Example rule: