What happens to a task if a loop fails a precondition?
Options
![Erin](https://us.v-cdn.net/6037124/uploads/userpics/0K8NT74W8WD8/nYA4TPTOVADTB.jpeg)
Erin
Member ✭
I'm hoping that if my tasks hit a failed precondition, that they would just move on to the next item in the list.
If it stops the task entirely, I'll have some re-engineering to do…
Tagged:
Comments
-
A precondition stops the whole function stack. There is, however, under Data Manipulation → Loops a function called “continue” that would do what you're looking for - stop processing the current loop and move to the top of the block for the next item in the list. Put that continue in an “if-then” conditional that mirrors the condition you use for the precondition today to mirror the logic but get the functionality you want.
-
@Ray Deck Thank you so much! I definitely have some preconditions to replace…
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback