Home > Forum > Actions > 2 timeouts, only first runs, why?

2 timeouts, only first runs, why?
0

Hello. I have a process where, on a certain step, I've made 2 timeouts. First one, will happen when this condition will be true:
SELECT
CASE
WHEN Count < '4' AND
Urgent = 'true' THEN 1
ELSE 0
END AS Result
FROM
wfelements
WHERE
wfd_id = {WFD_ID}
Inside this timeout, there is an automation that will increase by 1 the value of the Count.

And there is the second timeout configured, that will happen when the next condition is true:
SELECT
CASE
WHEN
Count = '4' THEN 1
ELSE 0
END AS Result
FROM
wfelements
WHERE
wfd_id = {WFD_ID}
that will move the instance to a certain path.

The problem is that, second timeout never runs, even if Count will actually become 4 at a certain time.. Can you help in any way?

Thank youu!