Uploaded image for project: 'Activiti'
  1. ACT-2010

Webservice task cannot be imported to Model workspace

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: None
    • Components: Explorer
    • Labels:
      None
    • Sprint:

      Description

      When importing an bpmn20.xml file in activiti-explorer under "Processes -> Model Workspace" information about Webservice tasks are lost.

      I noticed this with a webservice task for which the implementation type attribute ("##Webservice") was lost. The initial import seems to happen ok but when "deploy" is selected from the drop dorwn box the error message "One of the attributes 'class', 'delegateExpression', 'type', 'operation', or 'expression' is mandatory on serviceTask." is thrown, because of the validation in verifyImplementation of ServiceTaskValidator.

      The cause seems to be that the implementation attribute is not included in the JSON which is converted in the activiti-explorer code to the BPMModel an then sent to the engine itself.

      When I import the same process using Management->Deployments it works correctly.

      Issue created on github: https://github.com/Activiti/Activiti/issues/272

        Attachments

          Activity

            People

            • Assignee:
              frederikheremans Frederik Heremans (Inactive)
              Reporter:
              philippplogmann Philipp Plogmann (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: