Hi experts,
I've created a workflow module on BTP CF and also generated a UI5 Starting UI in the same MTA project, and I have a Visibility scenario crated for the model.
Now I can start my workflow instance from the application, but when I try to modify my workflow definition, upon deployment, I get the following error:
Deployment of capex_00.workflow failed due to invalid response code 409 from runtime server.
Response Details: {"error":{"code":"bpm.workflowruntime.rest.definition.conflict","message":"The workflow definition ID of the given model is already in use by a different application. Ensure that the definition ID is unique, for example by using a unique prefix."
I don't want to create a new model, I want to update the existing one.
Thank you for your advice.
This is my mta.yaml:
_schema-version: "3.2"ID: CapexProject-00version: 0.0.2modules:- name: Capex-00 type: com.sap.application.content path: Capex-00 requires: - name: wm_workflow parameters: content-target: true- name: CapexProject-00-destination-content type: com.sap.application.content requires: - name: CapexProject-00-destination-service parameters: content-target: true - name: CapexProject-00_html_repo_host parameters: service-key: name: CapexProject-00_html_repo_host-key - name: uaa_CapexProject-00 parameters: service-key: name: uaa_CapexProject-00-key parameters: content: subaccount: destinations: - Name: Capex_00_Start_UI_approuter_CapexProject_00_html_repo_host ServiceInstanceName: CapexProject-00-html5-app-host-service ServiceKeyName: CapexProject-00_html_repo_host-key sap.cloud.service: Capex_00_Start_UI_approuter - Authentication: OAuth2UserTokenExchange Name: Capex_00_Start_UI_approuter_uaa_CapexProject_00 ServiceInstanceName: CapexProject-00-xsuaa-service ServiceKeyName: uaa_CapexProject-00-key sap.cloud.service: Capex_00_Start_UI_approuter existing_destinations_policy: ignore build-parameters: no-source: true- name: CapexProject-00-app-content type: com.sap.application.content path: . requires: - name: CapexProject-00_html_repo_host parameters: content-target: true build-parameters: build-result: resources requires: - artifacts: - capex00Capex00startui.zip name: capex00Capex00startui target-path: resources/- name: capex00Capex00startui type: html5 path: Capex_00_start_ui build-parameters: build-result: dist builder: custom commands: - npm install - npm run build:cf supported-platforms: [] requires: - name: Capex-00resources:- name: wm_workflow type: org.cloudfoundry.managed-service parameters: service: workflow service-plan: standard- name: CapexProject-00-destination-service type: org.cloudfoundry.managed-service parameters: config: HTML5Runtime_enabled: true init_data: subaccount: destinations: - Authentication: NoAuthentication Name: ui5 ProxyType: Internet Type: HTTP URL: https://ui5.sap.com existing_destinations_policy: update version: 1.0.0 service: destination service-name: CapexProject-00-destination-service service-plan: lite- name: CapexProject-00_html_repo_host type: org.cloudfoundry.managed-service parameters: service: html5-apps-repo service-name: CapexProject-00-html5-app-host-service service-plan: app-host- name: uaa_CapexProject-00 type: org.cloudfoundry.managed-service parameters: path: ./xs-security.json service: xsuaa service-name: CapexProject-00-xsuaa-service service-plan: applicationparameters: deploy_mode: html5-repo