• 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.

  • Due to Holi celebrations, our team will have limited availability. While we’ll continue to monitor threads, responses may be slightly delayed.

Coalesce or first non-null

I tried to use the Default pabbly provided task where I want the first non-null value to be used like the coalesce function in sql. Unfortunately, default fails when the default value supplied by an input parameter is null. How can we simulate the function so that it returns the first not null parameter or just returns null if all of them are empty?
 
P

Pabblymember11

Guest
Hey @rsayad

Also, can you tell us are you using the Default Value action step in your workflow.

1656074193327.png
 
P

Pabblymember11

Guest
Hey @rsayad

Yes, I've assigned a nullable field value for default, one example is when I call an api which may or may not find a record to assign for the default value.

We looked into your concern and seems like it is not possible to pass the null value on the "Default Value" action step's response.
 
Top