Bren
Bren
NNovu
Created by Bren on 12/19/2024 in #💬│support
How to Handle Missing Output When Skipping Steps in a Workflow with Dependent Steps?
I'm implementing a workflow with three steps: in-app, delay, and another in-app. The first in-app step is conditional and can be skipped based on certain logic. However, when the step is skipped, no output is returned. This causes the delay step to fail with the error: 'first-step-name' has invalid result. Please provide the correct step result. I understand that for in-app step outputs, fields like seen, read, lastSeenDate, and lastReadDate are necessary. But since the first step is skipped, there is no result to pass. Questions: How can I handle cases where a step is skipped, but subsequent steps depend on its result? Is there a way to provide a default or placeholder result for skipped steps to avoid this issue?
5 replies