Filter by success or error of previous step
Status: Closed · Asked by Nicola on · 0 views
Hi - is it possible to create a filter or router based on whether a previous step was successful or not?
In a few of my workflows there is a trigger when something happens like a user unsubscribes, then we need to search an Airtable database to find that user. Ideally I'd like to then use a router to do something if the user does exist, and do something else if it doesn't. Is this possible?
I've tried setting up a filter for Record Id Does Not Exist but that's not working because the step is just returning an error if there's no record and so the workflow doesn't continue. Is there another way to do this?
Hey @Nicola
Apart from the Router and Filter action step, there is no workaround to check for the failed task in the workflow.
@
Apart from the Router and Filter action step, there is no workaround to check for the failed task in the workflow.
That's fine but HOW do I check for a failed task?
Hey @Nicola
You can check your complete history log once for the failed, partially failed and failed tasks.

Hey @NicolaYou can check your complete history log once for the failed, partially failed and failed tasks.
@Supreme - no, I mean how do I check for a failed action with the filter or router step, as you mentioned above?
Hey @Nicola
No, it is not possible to process the failed or partially failed task from the Router and Filter action step.
You can check the output of the previous step, normally if the task failed, you would gen some error message field instead of the normal data, so checking if the specified field exists in the output of the previous step (using a router), might be the right way.