it-at-m / digiwf-project

Project repo for the DigiWF project automation platform.
MIT License
10 stars 1 forks source link

Extend streaming process template #274

Closed dominikhorn93 closed 1 year ago

dominikhorn93 commented 2 years ago

Description

We need to extend the streaming process template to be able to throw BPMN errors for the processes using the functionality as Call Activities. F3E075C5-DB2E-42AA-90ED-4D90B52C174D.png

Details

martind260 commented 2 years ago

@dominikhorn93 Calling the implemented incident logic means propagate the message to the Generic DLQ for incidents (from here: https://app.zenhub.com/workspace/o/it-at-m/digiwf-project/issues/147)

dominikhorn93 commented 2 years ago

This is one option. But I would prefer to do it via External Task Worker, otherwise we would send messages to ourselves.

martind260 commented 1 year ago

Throwing a dynamic error code from an error event is not possible. Instead we use a delegate to throw the dynamic error.