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

External Task - Java API Camunda 7.8.3 EE

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Won't Fix
    • L3 - Default
    • None
    • None
    • None

    Description

      Where can we help you?

      Hello,

      At the Moment we are creating a prototye and want to use external tasks. Setup of our environment is ok, processengine works like excepted but not with external tasks. I have created a bpmn diagram with an activity type external Task and Topic "wita-info". The process instance can be initiialize sucessful and process is waiting on external Task activity.

      The bpmn diagram is part of a spring boot microservice and I want to fetchandLock the external Task by using the following lines of code:
      https://docs.camunda.org/manual/7.7/user-guide/process-engine/external-tasks/

      {{List<LockedExternalTask> tasks = externalTaskService.fetchAndLock(10, "externalWorkerId")
      .topic("wita-info", 60L * 1000L)
      .execute();

      for (LockedExternalTask task : tasks)

      { String topic = task.getTopicName(); String address = (String) task.getVariables().get("address"); // work on task for that topic ... }

      }}
      But the List<LockedExternalTask> tasks is everytime empty. What is wrong?

      I have create a second method and list existing external tasks with createExternalTaskQuery() method from ExternalTaskService and there are a lot of them in my test environment. Also the topic "wita-info" is set correctly.

      What is the context of your help request?
      Prototype for RPA Integration in Camunda BPM

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              frank.schaellert@t-systems.com Frank Schällert
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce