LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  How to disable a node if parameter is null

    Employee
    Posted 05-08-2013 13:39

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Wizardous

    Hi all,

    As you see on the title I want to disable a filter node in a composite, if the optional parameter i declared in composite (that gives the value to be filtered) is null. So I can disable that filter node and by pass like we use in agg ex or ready join nodes.

    Thank you.

    �zg�n


  • 2.  RE: How to disable a node if parameter is null

    Employee
    Posted 05-08-2013 13:42

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Tim Meagher

    Hey,

    I assume by null, you are just referring to the parameter on the containing composite being unset?
    If that is the case, then you can just set the Enabled parameter on your filter node to {{?ParamName?}}
    Where "ParamName" is the name of the parameter which you want to use to enable/disable the filter node.
    The {{?ParamName?}} syntax evaluates to true if the parameter "ParamName" is set, and false otherwise.

    Regards,
    Tim.


  • 3.  RE: How to disable a node if parameter is null

    Employee
    Posted 05-08-2013 14:43

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Wizardous

    Thank you Tim.

    This is really a useful stuff

    Cheers,

    �zg�n