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

User operation log is always written

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4.0, 7.4.0-alpha3
    • Component/s: engine
    • Labels:
      None

      Description

      Problem:
      Whenever an operation is executed which creates an user operation log, the user operation log is always written also then when the operation has not been executed by a user.

      AT:

      • User operation log is only written when a user executes an operation (CommandContext#getAuthenticatedUserId != null)
      • There exists a process engine configuration flag which enables the behavior < 7.4: user operation log is also written when the operation is not executed by a user

      Be aware of the following scenario:

      1. User completes an User Task
      2. After the User Task a Service Task with a custom java delegate is executed, which calls for example RuntimeService#setVariables()

      Only the completion of the User Task is logged. Since setting the variables has not been executed by the user explicitly, this operation is not logged in the user operation log.

        Attachments

          Activity

            People

            Assignee:
            thorben.lindhauer Thorben Lindhauer
            Reporter:
            roman.smirnov Roman Smirnov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: