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

Filtering Tasks in Tasklist with String that only contains numbers is not working

    • Icon: Bug Report Bug Report
    • Resolution: None
    • Icon: L3 - Default L3 - Default
    • None
    • 7.13.0
    • tasklist
    • Using springboot to start my own camunda webapplication.

      When you are in tasklist and you try to filter the tasks of a filter with a variable that is a string, it does not work when the string only contains numbers. 

      In the screenshot you see that I am trying to filter my tasks with the "example_string" variable, that is a string. I put in the value "123", but the result is "No task matching filters found". However there should be a result, because in one of my tasks is the example_string that has the value 123. When I change the example_string to a double, the filtering is working fine.

      So my acceptance criteria is: 

      When I filter tasks with a string variable and the string only contains numbers, the filtering is working fine.

       

      Thank you

        This is the controller panel for Smart Panels app

            [CAM-12498] Filtering Tasks in Tasklist with String that only contains numbers is not working

            Martin Stamm added a comment -

            Hi MarvinKern,

            When creating a search with only numbers as a search attribute, we consider this as searching for a variable of a numeric type instead of a string variable. Otherwise, searches for variables such as 'Invoice Amount' might not be possible.

            You can still search for Strings with this content, as described in our documentation:

            If you are searching for a variable of type string, which has a numeric, boolean or null value, you have to wrap the value in single quotes (e.g '93288' or 'NULL').

            As this behavior is documented, we don't consider this a bug and will close this ticket.

            Cheers
            Martin

            Martin Stamm added a comment - Hi MarvinKern , When creating a search with only numbers as a search attribute, we consider this as searching for a variable of a numeric type instead of a string variable. Otherwise, searches for variables such as 'Invoice Amount' might not be possible. You can still search for Strings with this content, as described in our documentation : If you are searching for a variable of type string, which has a numeric, boolean or null value, you have to wrap the value in single quotes (e.g '93288' or 'NULL'). As this behavior is documented, we don't consider this a bug and will close this ticket. Cheers Martin

              Unassigned Unassigned
              MarvinKern Marvin Kern
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2 minutes
                  2m
                  Remaining:
                  Remaining Estimate - 2 minutes
                  2m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified