IIF Statements use of EVAL and OR expressions
Hi, I am trying to minimise the complexity of an IIF statement I am developing in a synchronisation rule to use the "EVAL" expression i.e. IF (Eval([jobTitle] In ("manager", "senior manager", "executive")), "value1", "value2") When I attempt to save this I receive the error: "Parameter of function IIF does not match" Can you use the EVAL if not how else am I able to configure a simple OR expressions? ~FIMDB
May 23rd, 2012 8:25pm

No - the Eval function doesn't exist in the current version of FIM. For a complete list of available functions, go to the FIM home page, click on the All Resources menu, and then on the Functions resource type. The only option available to you AFAIK is to use nested IIF statements, e.g. IIF (condition1,'value1',IIF(condition2,'value2','value3'))Bob Bradley (FIMBob @ http://thefimteam.com/) ... now using Event Broker 3.0 @ http://www.fimeventbroker.com/ for just-in-time delivery of FIM 2010 policy via the sync engine
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 4:03am

No - the Eval function doesn't exist in the current version of FIM. For a complete list of available functions, go to the FIM home page, click on the All Resources menu, and then on the Functions resource type. The only option available to you AFAIK is to use nested IIF statements, e.g. IIF (condition1,'value1',IIF(condition2,'value2','value3'))Bob Bradley (FIMBob @ http://thefimteam.com/) ... now using Event Broker 3.0 @ http://www.fimeventbroker.com/ for just-in-time delivery of FIM 2010 policy via the sync engine
May 24th, 2012 4:33am

Thank you - will change the logic to use nested IIFs
Free Windows Admin Tool Kit Click here and download it now
May 25th, 2012 7:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics