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

Error message when deleting process instance is misleading

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: engine
    • Labels:
      None

      Description

      What are the steps to reproduce your problem?

      1. Deploy the attached process (one user task with output mapping)
      2. Start the process instance (you can try to complete the task from Tasklist without providing any variables, you should get the error in return)
      3. Delete process instance with with skipIoMapping set to false - no matter from Cockpit or from REST API.

      What is the problem?

      Following error will be returned:

      The deletion of the process instance failed. Process instance with id 6132d4bc-e660-11e8-b962-34f39ab71d4e does not exist

      What would be the expected behavior:

      The real error is related with output mapping failure and is shown in log like PropertyNotFoundException: Cannot resolve identifier 'var'. The error shown in Cockpit and reported in REST API should reflect the real problem (rather than saying that process instance does not exist).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            svetlana.dorokhova Svetlana Dorokhova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: