none
AND condition in FIM Portal functions RRS feed

  • Question

  • Hi All,
    Is there any option to put AND condition in fuctions provided in FIM Portal.

    I have following requirment

    IIF(status = active AND approval=yes), useraccountcontrol=512 else useraccountcontrol=514)

    Please suggest.

    Thanks,

    Mann

    Monday, December 1, 2014 8:09 PM

Answers

  • You could nested IIFs

    IIF(Eq(status,"active"),IIF(Eq(approval,"yes"),512,514),514)

    This basically resolves to:

    If status is active and if approval is yes flow 512

    If status is active and approval is not yes flow 514

    if status is not active flow 514

    • Marked as answer by Mann.Cool Tuesday, December 2, 2014 10:52 AM
    Tuesday, December 2, 2014 2:52 AM

All replies

  • You could nested IIFs

    IIF(Eq(status,"active"),IIF(Eq(approval,"yes"),512,514),514)

    This basically resolves to:

    If status is active and if approval is yes flow 512

    If status is active and approval is not yes flow 514

    if status is not active flow 514

    • Marked as answer by Mann.Cool Tuesday, December 2, 2014 10:52 AM
    Tuesday, December 2, 2014 2:52 AM
  • Thanks Cameron!

    This seems to be the only way.

    -Mann

    Tuesday, December 2, 2014 10:53 AM