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

Using Java API, I can configure external handling of a service task, poll task instances, and complete them

    XMLWordPrintable

    Details

    • Type: Feature Request
    • 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

      AT:

      • there is a way to declare an external service task in BPMN XML
      • there is a service method for polling external tasks; API method takes a task topic, a lock time, variables to fetch, a worker id, and a maximum number of tasks to fetch
      • returned external task instances contain metadata (process definition id, key, activity id, etc.; similar to user tasks) and the requested variables that are visible from the task in the variable hierarchy
      • tasks are locked for the specified time and cannot be acquired by another worker in the meantime
      • at most the desired number of tasks is returned; it may be less when there are no more tasks or when some tasks cannot be locked due to optimistic locking
      • completing an external tasks continues process flow; variables can be submitted (similar to TaskService#complete)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: