Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9007

Search on String variable containing only digits does not work

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • cockpit

      What are the steps to reproduce your problem?

      1. Start the process with a String variable with value starting with 0 and containing only digits, e.g. 0012345
      2. In Cockpit from the process view, add a filter on process variables like VariableName = 0012345.

      What is the problem?
      Search by variable value does not return process instance

      What would be the expected behavior:
      The corresponding process instance is shown

      Hints (optional):
      Before sending the value to backend, we perform type detection, which converts any string, containing only digits to number. This means that variables of type string containing only digits will never be found.
      -> wider affected case is: any String variable containing digits (not specifically with leading zeros).

      Possible solutions:
      1. If value contains leading zeros, treat it as a String (will solve only specific case with leading zeros)
      2. Allow entering values with quotes, which will mean, that the content inside quotes is a String, e.g. if you enter "235", it will be passed as a String to the backend, but if you enter 235, it will be passed as a number.

        This is the controller panel for Smart Panels app

            [CAM-9007] Search on String variable containing only digits does not work

            This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2320. Please use this link for any future references and continue any discussion there.

            Thorben Lindhauer added a comment - This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2320 . Please use this link for any future references and continue any discussion there.

              Unassigned Unassigned
              svetlana.dorokhova Svetlana Dorokhova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: