Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-7544

return the id of next task after complete a task using KIE rest api

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 7.8.0.Final
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      kie workbench 7.8.0.final

    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      I was using PUT /server/containers/

      {id}

      /tasks/

      {tInstanceId}

      /states/completed under the KIE server rest API to complete a human task by given the task instance id. The response of this PUT request is empty if we completed the task successfully. In order to know which tasks or process are triggered by this one, I need to send GET request to retrieve a list of all task id (or with filter) which is complicated and it would raise some problems if there were many tasks.

      It will be very helpful that if the response of this PUT request can contain the next task instance id which is triggered after completed the current task. Is there a way to achieve it?

      Thanks a lot!

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                swiderski.maciej Maciej Swiderski
                Reporter:
                jianhuili-cdc Jianhui Li
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: