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

blank assignee expression should not make task assigned

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: 7.6.0
    • Fix Version/s: None
    • Component/s: engine
    • Labels:
      None

      Description

      If a task assignee is an expression, and that expression resolves to an empty string, then the task becomes assigned to "". I would like to write this:

      ${assignee_variable}
      

      Instead, I need to write:

      ${empty assignee_variable ? null : assignee_variable}
      

      This is surprising, and I can't think of a case where this is the desired behavior. An empty string should work as well as null to leave a task unassigned.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kgeis Ken Geis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: