I have a service task, which can raise exceptions like either Technical Error or Business error. So is that possible to log an incident for service task in case of technical error and throw BPMN error in case of business error?
Both things happening at the same time wouldn’t make a lot of sense because they cross domain a bit.
If a BPMN error is triggered it basically means that things in the BPMN model have occurred “as expected” because the event was predicted and handled. the Idea of incidents is to catch technical errors that may occur but are not explicitly expected.