WhenRequiredFieldsFilled (#10937)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2026-06-30 14:46:40 +05:00
committed by GitHub
parent 4125453b04
commit 1145f17928
26 changed files with 141 additions and 3 deletions
+8 -1
View File
@@ -164,7 +164,14 @@ async function processCardExecutions (control: ProcessControl, record: ProcessMe
}
// we should update timers, probably context value changed
if (record.event.some((p) => p === process.trigger.OnCardUpdate || p === process.trigger.WhenFieldChanges)) {
if (
record.event.some(
(p) =>
p === process.trigger.OnCardUpdate ||
p === process.trigger.WhenFieldChanges ||
p === process.trigger.WhenRequiredFieldsFilled
)
) {
await updateTimers(control, record)
}
}