none
FIM WAL, IIF statement for boolean attribute RRS feed

  • Question

  • I'm trying to use an IIF function with an attribute that has a Boolean value but I can't get it to work.

    Examples:

    I have an attribute named DisableNotification, it holds a Boolean value

    I have tried the following but they do not seem to work.

    IIF([//Target/DisableNotification],Null(),[//WorkflowData/NotificationList])

    IIF(Eq([//Target/DisableNotification],True),Null(),[//WorkflowData/NotificationList])

    Anyone know how to use a boolean attribute with an IIF statement in a FIM WAL Activity?

    

    


    • Edited by j.greene Tuesday, December 2, 2014 5:39 PM
    Tuesday, December 2, 2014 5:38 PM

Answers

  • The correct way to check the Boolean value is

    IIF(Eq([//Target/DisableNotificion],True),"textvalue",[//WorkFlowData/NewValue])

    The problem I had was with previous entry was the use of the Null() function, that was actually causing the failure.

    Don't use Null() in your FIM WAL activities!

    • Marked as answer by j.greene Monday, December 15, 2014 4:12 PM
    Monday, December 15, 2014 4:12 PM

All replies

  • On Tue, 2 Dec 2014 17:38:54 +0000, Exchange-Sucks wrote:

    Anyone know how to use a boolean attribute with an IIF statement in a FIM WAL Activity?

    FIM WAL is only available and supported by MCS. You should ask your TAM or
    MCS contact this question.


    Paul Adare - FIM CM MVP
    Any product designed to lure those who would not normally use it is
    guaranteed
    to be a total wanker of a product. -- Lamont Lucas

    Tuesday, December 2, 2014 7:28 PM
  • The correct way to check the Boolean value is

    IIF(Eq([//Target/DisableNotificion],True),"textvalue",[//WorkFlowData/NewValue])

    The problem I had was with previous entry was the use of the Null() function, that was actually causing the failure.

    Don't use Null() in your FIM WAL activities!

    • Marked as answer by j.greene Monday, December 15, 2014 4:12 PM
    Monday, December 15, 2014 4:12 PM