variable defined as structure but results in an array

  • Klaus79
        5 years ago #17420

        see attachment.

        I defined a data type customer_struct as structure and use it in a modul in a global variable selectedCustomer.

        In debugger I get an array (which results in an error in an UI Action mapping).

        Attachments:
        You must be logged in to view attached files.
        Mathieu Roll
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
          5 years ago #17741
          Up
          1
          Down
          ::

          How is the global variable filled ? because if the variable is from type struct its not saying that you can not store an array in it.

          and if its filled by a connector wich has output validation disabled this can be the problem.

          In this case Simplifier can’t detect the problem because validation is disabled.

          To fix this you can give back just one item from the connector like this.

        Viewing 2 posts - 1 through 2 (of 2 total)

        You must be logged in to reply to this topic.