Trim expression string before evaluating

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: engine

      Given:
      1. I have service task with the expression defined
      2. Value of expression attribute contains leading or trailing space(s).

      Then:
      Leading and trailing spaces are removed before evaluating the expression.

      So that:
      If we have service task like:

      <bpmn:serviceTask id="Task_054xd3h" name="Set a thing" camunda:expression=" ${now()} " camunda:resultVariable="rightNow">
      

      , result variable will be of type Date (instead of String).

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Svetlana Dorokhova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: