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

Multi instance collection expression is evaluated multiple times

    XMLWordPrintable

    Details

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

      Description

      For a multi-instance task with n interations, the collection expression is invoked n+1 times:

      • once to determine the number of iterations
      • n times to determine the loop element

      This is problematic if

      • the collection expression is not side-effect free
      • the collection changes between invocations

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: