StackOverflowException when adding order inside rule fired on Ticket Total Changed event

Version: 5.5.8

Nothing is written to log file.

This is the entry in windows’ event log:


Faulting application name: Samba.Presentation.exe, version: 5.5.8468.18634, time stamp: 0x640988e5
Faulting module name: clr.dll, version: 4.8.4515.0, time stamp: 0x624cf48c
Exception code: 0xc00000fd
Fault offset: 0x00018eb3
Faulting process id: 0x5a0
Faulting application start time: 0x01d959c9cbabf087
Faulting application path: C:\Program Files (x86)\SambaPOS5\Samba.Presentation.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: 3bc7db18-48e4-4fef-8e09-82dbd231df24
Faulting package full name: 
Faulting package-relative application ID:

database to reproduce issue:
DEV_202303181258SQM.zip (537.2 KB)

Automation prefixed with “DEALS”
Rule executes on Ticket Total Changed event when Ticket Total > 10

Never mind - the overflow was caused by the constant ticket total changing event firing. I had to set a state with the add order action and add rule constraints to eliminate the issue.