I've been beating my head against this for some time, following examples I've found in web searches, but I cannot seem to make this IIF statement work after the first IIF function (inbound sync rule for Oracle database MA):
IIF(Eq(IND_1,"X"),"Active",IIF(Eq(EMP_STATUS,"A"),"Active",IIF(Eq(IND_2,"X"),"Active",IIF(Eq(IND_3,"X"),"Active",IIF(Eq(IND_4,"X"),"Active",IIF(Eq(IND_5,"X"),"Active",IIF(Eq(IND_6,"X"),"Active","Inactive")))))))
I've replaced most of the indicators with IND_1, but all were constructed something like "EMP_STATUS". In every variation I've tried, the first IIF evaluation correctly evaluates the status true or false. Anytime I add a nested IIF
function in the "action if false" section, I get an error on that attribute when running the Oracle MA Sync if the first statement evaluates false:
Error sync-rule-mapping - expression
Can FIM do nested IIF statements like this?