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

Add external tasks for assertions

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • assert-3.0.0
    • None
    • assert
    • None

      Add support for external tasks in bpm-assert as suggested in the PR and the Holisticon fork

      Methods that should be covered by this first version:

      1. assertThat(ExternalTask) to validate ExternalTasks with assertions for topicName and activityId
      2. externalTask chaining-methods for ProcessInstanceAssert to find ExternalTask of an instance (analogously to Task)
      3. convenience methods for finding an ExternalTask by query and process instance (analogously to Task)
      4. convenience methods for completing an ExternalTask with and without additional variables (including the fetchAndLock transparently) - they have to check to having fetchAndLocked the correct external task regarding to its id (there could be multiple active external tasks with the same topic)
      5. convenience method to fetchAndLock with topic, worker and maxResults returning the list of LockedExternalTask
      6. convenience methods for completing a LockedExternalTask with and without additional variables

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              tobias.metzke Tobias Metzke-Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: