Camunda Modeler supports BPMN Errors triggered via RPA Bridge
See original GitHub issueThis is an epic issue which may be broken down into multiple tasks, if needed
What should we do?
As part of the April CamBPM release, the RPA Bridge will support the triggering of BPMN errors. This shall be supported by the Camunda Modeler.
An example looks like this:
<bpmn:serviceTask id="ServiceTask_2" name="Generate quote" camunda:type="external" camunda:topic="RPA">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="productName">${product}</camunda:inputParameter>
<camunda:inputParameter name="count">${count}</camunda:inputParameter>
<camunda:inputParameter name="price">${price}</camunda:inputParameter>
<camunda:outputParameter name="pdfStorage">${pdfStorage}</camunda:outputParameter>
</camunda:inputOutput>
<camunda:properties>
<camunda:property name="bot" value="PDFQuoteGenerator" />
</camunda:properties>
<camunda:errorEventDefinition id="CamundaErrorEventDefinition1" errorRef="Error_0x9vl7b" expression="${true}" />
<camunda:errorEventDefinition id="CamundaErrorEventDefinition2" errorRef="Error_0x9vl7c" expression="${processVar}" />
</bpmn:extensionElements>
<bpmn:incoming>Flow_04k3izd</bpmn:incoming>
<bpmn:outgoing>Flow_1s764or</bpmn:outgoing>
</bpmn:serviceTask>
In particular we need to (see child issues for more details):
Priority 1
- Improve existing bpmn-js-properties-panel UI for eventDefinitions. See issue for details
- Support
camunda:errorEventDefinition
for externalServiceTasks
in Camunda Moddle - Implement new UI component supporting
camunda:errorEventDefinition
for externalServiceTasks
. See issue for details - Support
camunda:errorEventDefinition
for externalServiceTasks
with ElementTemplates- Decide a concept, how
camunda:errorEventDefinition
can be configured using ElementTemplates (See https://miro.com/app/board/o9J_lZ7EwN0=/ and respective issues) - Allow
scopes
to be an Array (rather than an Object as it is currently). Ensure backwards compatability (ie. still be able to scopes being an Object) see issue for details - Support global entity
bpmn:Error
by adding new scoped binding type. See issue for details - Implement new element template binding
camunda:errorEventDefinition
which allows to link anbpmn:error
using theerrorRef
property see issue for details - Adjust the elementTemplates jsonSchema to ensure compatibility (array scopes, error scopes, error event definition binding). See issue for details.
- Support the transfer of all attributes on copy/pasting a service task defining a
camunda:ErrorEventDefinition
. (See issue for details) - Ensure the removal of
camunda:ErrorEventDefinition
-related attributes when changing the service task type from external to any other. (See issue for details)
- Decide a concept, how
- Update element templates docs (https://github.com/camunda/camunda-modeler/issues/2161)
- Release + integrate
element-templates-json-schema@0.3.0
Priority 2
- Allow the reorder of
camunda:errorEventDefinitions
s of a given serviceTask by adding a “dragging” features for the list of collapsbiles - Adjust the elementTemplates jsonSchema
- Add support for all global entites (based on the concept established with
bpmn:Error
- Add support for all eventDefinitions (based on the concept established with
camunda:errorEventDefinition
Why should we do it?
The Camunda Modeler shall support the BPMN Error Trigger via RPA Bridge use case. See https://jira.camunda.com/browse/CAM-12040 for the CamBPM implementation.
Context CamBPM implementation: https://jira.camunda.com/browse/CAM-12040 Concept-board https://miro.com/app/board/o9J_lZ7EwN0=/
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Error Handling Strategies - Camunda 7 Docs
The BPMN 2.0 error event gives you the possibility to explicitly model errors, tackling the use case of business errors. The most prominent...
Read more >Camunda Platform Runtime 7.15.0 Released
RPA Orchestration: New Release, New Vendor; Handling BPMN Errors ... RPA Bridge, might not be aware of the BPMN process that triggered it....
Read more >Robotic Process Automation (RPA) and Camunda BPM
Robotic Process Automation (RPA) and Camunda BPM: A demo on using UiPath robots within a BPMN workflow. Community Conversations
Read more >BPMN 2.0 Symbols - A complete guide with examples.
Representation in a separate process diagram: The subprocess symbol links to a separate diagram. If your BPMN tool displays the process model in...
Read more >Camunda BPM Runtime 7.15.0-alpha3 Released
Based on the result, we need to decide if the External Task executed as expected, an error (that should be handled by the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Integration Test with Cawemo Team
30.03.2021
Scope
(See [sep. issue] for integration test with platform team)
Setup
Test Cases
Evaluation
Will do