mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-17 18:05:42 +02:00
WhenRequiredFieldsFilled (#10937)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user