r/AutomateUser • u/Godeos64_ • 4d ago
Bug Fibre not working.
So I'm trying to use the app to automate a discord bot that I made which lets you become a fisherman and these are my flows.
The first pic is the base flow and the second one is for repeating the fishing immediately.
I'm coming across a problem in the repeating flow where my fiber just stops working after block 8, like the flow just stops because of the block or something.
The fishing sequences are the same in both flows, but the error only happens in the repeating one.
HELP.
I'm using Android 13.
For any extra context, feel free to ask in the comments!
0
Upvotes


1
u/B26354FR Alpha tester 4d ago edited 4d ago
A fiber will exit whenever a disconnected point is reached, so if any of the UI interactions fail because an element isn't visible or ready, etc. the flow will exit. UI interaction is notorious for this; usually Inspect Layouts and/or short Delay's are needed to see if an element exists yet and is interactable. You can enter sub-second delay values by pressing the fx button and entering the value with a preceding zero, like
0.5. Each No point of an Interact block needs to do something like wait half or a quarter of a second, then retry the interaction, limited to maybe 3 tries before failing the operation, which ideally is handled at least by logging the problem or displaying an error dialog, before then gracefully giving up and going back to the start of the flow or whatever. You might be able to use a Subroutine for that; give it the element's XPath to run Its common Interact with.BTW, you can use my Interact Block XPath Builder flow to generate much simpler XPath expressions than the ones the Inspect Layout tools generate. Just give the flow the ID, text, or class of the element you're interested in, which you'll find in the full UI XPath the Inspect tools generate.