ProcessMaker / nayra

Nayra is a BPMN workflow engine in PHP. Utilize it in your own projects to have your own complex workflow capabilities.
Apache License 2.0
122 stars 31 forks source link

FOUR-11120 Fix problem when catching error with boundary inside a call activity #227

Closed caleeli closed 3 months ago

caleeli commented 3 months ago

Fix problem when catching error with boundary inside a call activity

Cause

When a Script task executed inside a CallActivity has a boundary event, the error was propagated to the CallActivity causing the CallActivity to fail and do not continue to the next task in the main process.

Solution

If the script task inside a CallActivity (Sub process) fails but it has a bourdary error event, it must not be propagated to the CallActivity.

Related Ticket

ci:next

caleeli commented 3 months ago

New test added:

image

processmaker-sonarqube[bot] commented 3 months ago

Quality Gate passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
0.0% 0.0% Coverage on New Code
0.0% 0.0% Duplication on New Code

See analysis details on SonarQube