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?
@Pawan Jain could you please help on this ?
5 replies
NNovu
•Created by Bren on 12/19/2024 in #💬│support
How to Handle Missing Output When Skipping Steps in a Workflow with Dependent Steps?
@Pawan Jain
Let’s consider a scenario where the workflow involves the following steps:
First Step: Email and in-app notification.
If a user meets certain conditions, the in-app notification is skipped.
Second Step: A delay of 2 days.
Third Step: Another in-app notification or email.
For example, I have an event related to payment reminders. If a user has not made a payment, I trigger this workflow. In the first step, I send an email and conditionally skip the in-app notification based on user-specific logic. After a delay of 2 days, the third step sends either another in-app notification or an email.
However, if the in-app notification in the first step is skipped, the delay step fails with the error:
'first-step-(inapp)-name' has invalid result. Please provide the correct step result.
How can I address this issue to ensure the delay step works seamlessly, even when the in-app notification in the first step is skipped? Is there a way to provide a default or placeholder result for skipped steps to avoid such errors?
5 replies