• 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 missing map sources with alternate values.

Status
Not open for further replies.

The problem

I have a workflow where step #2 sometimes returns errors due to invalid inputs. That leads to failures in the subsequent steps because of absence of a required key (map source, which is `Result 0` in my case).

What I expect in a subsequent step

Use `Result 0` from a successful Response of step #2, or a placeholder value ( `-` ) in case that key is missing in step #2.

The working Solution using the options offered by Pabbly Connect

  1. Enabled Ignore Error for the error-prone step (step #2). +
  2. Added a Default Value action next to the error-prone step (step #3). [ App: Text Formatter, Action: Default Value ]
With this setup, when step #2 succeeds, the required key, `Result 0` is passed through the Default Value step. When step #2 fails, i.e. `Result 0` is absent, my default placeholder value `-` is passed.
Problem solved!

Screenshot_20230909-092754~3.png



The result from Task History


Screenshot_20230909-103048~2.png

Screenshot_20230909-103908~2.png


Conclusion

The combination of Ignore Error and Default Value can skip missing keys properly. Only one option alone is not sufficient.

Acknowledgment
Neeraj Agarwal helped me to find out the available options.
 
Status
Not open for further replies.
Top