Nested ConditionList – request

Forums 💬 NodeCanvas 🗨️ General Discussion Nested ConditionList – request

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13211
    cywil
    Participant

      Hi.

      I could find old posts about this issue but no luck with solution. It’s about nested ConditionList that can helps create more complex if statements. So far I created a copy of ConditionList and remove  [DoNotList] attribute. Now I can use it as a regular ConditionTask. GUI isn’t well and my ConditionTask has to be located internally in the NC namespace (because of  isUserEnabled and other internals) but it works. After strip internals the task seems to behave correctly but not sure in 100% about GUI. It would be nice to have such a feature internally. Even if GUI isn’t great still better than nothing.

      #13213
      Gavalakis
      Keymaster

        Hello there,

        This feature has been requested a few times in the past, however deep inside me I am against it because I believe it creates much complexity in the UI, as well as removes the mini feature of automatically changing from “single task” to “task list” whenever is needed. However I will take another look at it from a different perspective, probably try to implement multiple ANDs and ORs within the same list somehow to avoid multiple nested lists. For the meantime, I would suggest to keep your duplicate condition list you’ve made however 🙂

        Thank you!

        #13212
        cywil
        Participant

          Hi,

          I get it. And yes, I agree that OR/AND sections on the connection instead of the nested list will be a much better solution. I avoid internal modification of plugins in general so I use special condition tasks for it. Anyway, this feature will be very helpful for the users.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.