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

I can use variables in on parts for sentries

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6.0, 7.6.0-alpha3
    • Component/s: engine
    • Labels:

      Description

      The CMMN specification defines PlanItemOnParts (already implemented).
      The specification also defines "CaseFileItemOnParts" which refer to "case files" which are not implemented by our java engine since we use the more poverful and flexible model of variables.
      Still it should be possible to define a counterpart to the "CaseFileItemOnParts" which reacts changes of the variables.

      Related forum post:
      https://groups.google.com/forum/#!topic/camunda-bpm-users/d9uNMf54aOU

        Issue Links

          Activity

          Hide
          meyer Daniel Meyer added a comment - - edited

          Events (plan item lifecycle transitions, variable lifecycle) can happen before a sentry listens for them. We need to define the behavior for such situations.

          • Find out whether Sentries are currently implemented in a way that they can cope with such situations
            [Answer]: With the current implementation, sentries cannot listen for plan item or variable lifecycle transitions that has happened before the respective sentry is created.
          • Find out what the Specification says about this. (for planItemOnPart, and caseFileItemOnPart)
            [CMMN1.1 Spec]: Entry criterion sentries are considered ready for evaluation while the task, stage, or milestone is in Available state. Sentries are evaluated when events arrive to the system or when events are generated by the system.
          Show
          meyer Daniel Meyer added a comment - - edited Events (plan item lifecycle transitions, variable lifecycle) can happen before a sentry listens for them. We need to define the behavior for such situations. Find out whether Sentries are currently implemented in a way that they can cope with such situations [Answer] : With the current implementation, sentries cannot listen for plan item or variable lifecycle transitions that has happened before the respective sentry is created. Find out what the Specification says about this. (for planItemOnPart, and caseFileItemOnPart) [CMMN1.1 Spec] : Entry criterion sentries are considered ready for evaluation while the task, stage, or milestone is in Available state. Sentries are evaluated when events arrive to the system or when events are generated by the system.
          Hide
          meyer Daniel Meyer added a comment -

          First increment:

          • Single Task with sentry having variableOnPart (create)
          • Scenario:
            • Start Case
            • Set the variable
            • Expected: task is enabled
          Show
          meyer Daniel Meyer added a comment - First increment: Single Task with sentry having variableOnPart (create) Scenario: Start Case Set the variable Expected: task is enabled
          Hide
          meyer Daniel Meyer added a comment - - edited

          TODO: understand first increment and break it down into issues that can be done in 1-2 days

          Show
          meyer Daniel Meyer added a comment - - edited TODO: understand first increment and break it down into issues that can be done in 1-2 days

            People

            • Assignee:
              deivarayan.azhagappan Deivarayan Azhagappan
              Reporter:
              thorben.lindhauer Thorben Lindhauer
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: