John Donaldson
Member
- Your Workflow URL
- https://connect.pabbly.com/v2/app/workflow/mapping/IjU3NjcwNTZkMDYzZjA0MzU1MjY5NTUzMzUxMzQi_pc
- Your Task History ID
- IjU3NjUwNTY1MDYzMzA0MzY1MjZlNTUzMjUxMzU1MTY0NTQzNzBmMzUi_pc
- Consent to Access & Modify
- I authorize Pabbly Support to log in to my account and make changes to the specified workflow for troubleshooting.
I have created a workflow to first search for an existing folder, then either upload files to it if it exists, or create it then upload the files if it doesn't. I cannot get the router to work when the folder doesn't exist though.
If the folder exists I get multiple lines return in the result. I can then create a path that is if "2. matches 0 match_type .tag : filename_and_content" exists, proceed. The issue I have is if the folder doesn't exist, the only line returned is "Has More: 0". This is also the first line returned when the folder does exist. I have tried setting the failure path to "2. matches 0 match_type .tag : filename_and_content" does not exist, but the workflow never takes that path. When I test it, it is successful, but when it runs it doesn't go there.
How should I setup the router for when the folder is not found?
If the folder exists I get multiple lines return in the result. I can then create a path that is if "2. matches 0 match_type .tag : filename_and_content" exists, proceed. The issue I have is if the folder doesn't exist, the only line returned is "Has More: 0". This is also the first line returned when the folder does exist. I have tried setting the failure path to "2. matches 0 match_type .tag : filename_and_content" does not exist, but the workflow never takes that path. When I test it, it is successful, but when it runs it doesn't go there.
How should I setup the router for when the folder is not found?
