Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3, 2.1.0
    • Component/s: core
    • Labels:
      None

      Description

      From the Activiti User Guide:

      BPMN 2.0 makes a distinction between a regular subprocess, often also called embedded subprocess, and the call activity, which looks very similar. From a conceptual point of view, both will call a subprocess when process execution arrives at the activity.

      The difference is that the call activity references a process that is external to the process definition, whereas the subprocess is embedded within the original process definition. The main use case for the call activity is to have a reusable process definition that can be called from multiple other process definitions.

      It is currently possible to create more process definitions (besides the default userWorkflow) by empowering the REST endpoint

      PUT /workflows/{anyTypeKind}
      

      The new process(es) defined can then be called from the main userWorkflow via the <callActivity/> element(s): the main advantage is that, by doing so, there are no more problems about the process definition versions, as they only apply to the main process (e.g. userWorkflow).

      What is currently lacking is:

      1. proper management for getting all available process definitions
      2. proper handling for initial loading of several process definitions from XML files
      3. proper editing features from Admin Console

      as all the items above only consider the possibility that a single process definition is available.

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: