Uploaded image for project: 'Activiti'
  1. ACT-4157

Support querying executions by root process instance id

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 6.0
    • Components: Engine
    • Labels:
      None
    • Sprint:

      Description

      We have a use case in which we need to find all executions related to a process instance including any executions started by a CallActivity. We would like to add the method (rootProcessInstanceId) to the ExecutionQuery class to support this behavior.

      ExecutionQuery query = runtimeService.createExecutionQuery().rootProcessInstanceId(processId);
      List<Execution> executions = query.list();

      The following Pull Request has been submitted for this issue:
      https://github.com/Activiti/Activiti/pull/868

        Attachments

          Activity

            People

            • Assignee:
              trademak Tijs Rademakers (Inactive)
              Reporter:
              robert.hafner Robert Hafner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: