• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Skip Action (not whole workflow) based on Filter?

wibbler

Active member
I have a workflow that takes an order from Shopify and processes it. The order could be for anything between 1 or 5 items, each with different SKUs in the Shopify API.

As I have to check for 5 items every time, most orders will throw errors because there is less than 5 items.

Is there any way to say "if this doesn't exist, skip this action"?
 
P

Pabblymember11

Guest
Hey @wibbler

Can you please explain your filter condition once on how and what SKU you only want to process the workflow?
 

wibbler

Active member
Maybe we don't need a filter! (I do not have set currently). Maybe there's another solution.

I receive Shopify orders that have SKU codes. Here's a screenshot of all those SKU fields from the order.

1674910024311.png


However, the screenshot shows an order that has 5 line items. Sometimes the order only has 1 line item, or 2 or 3 or 4:
1674910130763.png


I take the SKU codes and add them into Infinity. The question is: how do I avoid Pabbly errors when it can't find all the SKU line items (because the order has less then 5 line items)? I can't use the Iterator because each line has a different name (... 0 Sku, 2 Sku etc). I can't use filter but I want it to continue with the rest of the workflow regardless of the number of SKU line items there are.
 
P

Pabblymember11

Guest
We looked into your use case and it is not possible to skip the middle or end product from the line items in an execution.
 
P

Pabblymember11

Guest
Hey @wibbler

Please enlighten us on the feature request once, so that we can present the same to our technical team and check the possibility of it.
 

wibbler

Active member
On your Filter action, there is currently only one choice - "Only Continue If". Adding another option, "Skip Next Step If" would allow Steps in a workflow to be skipped if certain criteria are met.
 

Jan

Member
On your Filter action, there is currently only one choice - "Only Continue If". Adding another option, "Skip Next Step If" would allow Steps in a workflow to be skipped if certain criteria are met.

This is exactly what I asked a few moments ago for a text function in another thread.
It could either be solved the way you described it or an option "Execute only if ..." could be added to all steps.

Did you write a feaure equest already? I will support that!
 
Top