Description de la nouvelle fonctionnalité : Bloc "TANT QUE"
L’idée est d’introduire un nouveau bloc utilisable dans les scénarios: le bloc TANT QUE.
Ce bloc se comporte comme une combinaison entre le bloc BOUCLE et le bloc WAIT, mais il s’interrompt automatiquement dès que la condition définie devient FAUSSE.
Détails de fonctionnement :
- La première ligne du bloc permet de définir une condition (comme dans un WAIT).
- Tant que cette condition est VRAIE, le contenu du bloc est exécuté.
- L’utilisateur est libre d’ajouter les actions ou blocs nécessaires (y compris des sleep/wait si besoin).
- Par sécurité, un sleep de 1 seconde est systématiquement appliqué à la fin afin d’éviter une boucle vide trop rapide.
- Une seconde sécurité est intégrée : un timeout maximum de 1 heure est imposé. Même si une autre valeur est configurée, la boucle est interrompue automatiquement au-delà de 1 heure.
Description of the new feature: "WHILE" block
The idea is to introduce a new block available in scenarios: the WHILE block.
This block acts as a combination of the LOOP and WAIT blocks, but it will automatically stop as soon as the defined condition becomes FALSE.
Operating details:
- The first line of the block specifies a condition (similar to a WAIT).
- As long as this condition is TRUE, the block’s content is executed.
- The user is responsible for adding the desired actions or blocks (including sleep/wait if necessary).
- For safety, a 1-second sleep is always applied at the end to avoid empty fast loops.
- A second safeguard is enforced: a hardcoded maximum timeout of 1 hour. Even if another value is configured, the loop will be interrupted after 1 hour.
Description de la nouvelle fonctionnalité : Bloc "TANT QUE"
L’idée est d’introduire un nouveau bloc utilisable dans les scénarios: le bloc TANT QUE.
Ce bloc se comporte comme une combinaison entre le bloc BOUCLE et le bloc WAIT, mais il s’interrompt automatiquement dès que la condition définie devient FAUSSE.
Détails de fonctionnement :
Description of the new feature: "WHILE" block
The idea is to introduce a new block available in scenarios: the WHILE block.
This block acts as a combination of the LOOP and WAIT blocks, but it will automatically stop as soon as the defined condition becomes FALSE.
Operating details: