• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Delay Until Task

ln87

Member
Your Task History ID
IjU3NjAwNTY1MDYzZjA0Mzc1MjZlNTUzMTUxMzc1MTYxNTQzNSI_3D_pc
I have a task that will delay until a certain date but if the date is in the past it stops the task. How do I get past that? If the date is in the past it should just go right through and process, correct?

1688660155509.png
 

ArshilAhmad

Moderator
Staff member
Hi @In87,

I'm afraid this will not work. In Delay, you need to enter a date or time that is yet to occur; otherwise, your workflow will stop.
 

ln87

Member
Thanks! Any suggestions around this? I can’t control the date as it comes from a webhook and it won’t let me add a router so I can do an if then else type statement.
 

ArshilAhmad

Moderator
Staff member
A Router could help you with this issue. Could you please confirm the error you are getting while adding a Router to your workflow? Please note that the Router is supposed to be the last step of your workflow.
 

ln87

Member
It says it should be the last step. In most cases that would be fine but I need it before the delay so I can tell it to delay or not based on if the date is in the past. Is there a way around this?

1688681030649.png
 

ArshilAhmad

Moderator
Staff member
That's exactly what a Router is used for. The first step of every route is a Filter, which you can use to decide whether to apply the Delay or not. You can set up one route for adding a delay before the execution of your main action step, and the other route to execute the action step without a delay. I would suggest watching the video I shared above to gain a better understanding of the Router.
1688685466165.png
 

ln87

Member
ArshilAhmad - Thanks for the reply and the video. That's exactly what I'm trying to do but it gives me that error message. Here is a quick GIF showing that.

1688686474685.gif
 

ArshilAhmad

Moderator
Staff member
@In87, Instead of adding another step by clicking on the "+" sign, you can simply use the given action step as a Router.

1688686673433.png
 

ln87

Member
I was able to start a new Workflow and it allows me to add the router after the webhook. Not sure why it won't let me do it in an already-built workflow.
 
Top