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

    • Feature Request
    • Resolution: Fixed
    • L3 - Default
    • 7.4.0, 7.4.0-alpha3
    • None
    • engine
    • 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)

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce