N
Novu2mo ago
bledar

Filter out push-notification step if subscribes has no channel configured

I have a workflow with multiple steps (InApp, Push, Email) that works perfect but some of executaions are showing as error. The error happens for users that they dont have enabled push notification in their mobile app and novu don't have a registered any Expo Token for that subscriber making the Push step to fail. I tried to filter the step is subscribes has no channels configured but did not work. Is there any recommended way how can I filter the push step is subscriber has no channel configured?
No description
No description
4 Replies
Pawan Jain
Pawan Jain2mo ago
@bledar Currently, this condition is not supported in older UI based workflow Did you got chance to try new @novu/framework based workflows ?
bledar
bledarOP2mo ago
I am already using the old version in production and I don't know if I will be able to migrate to new code base version. In the old version I was able to schedule notification on a specific date. In the new version I was not able to achieve this. So I will be happy to use the new version but first I need to migrate and to make sure the new version supports all the features that I am already using in the older UI based workflow version.
Pawan Jain
Pawan Jain2mo ago
@bledar Thanks for sharing. I agree, there are couple of features that are not yet supported in @novu/framework based workflows. Sharing above usecase with my team. Small note on the error ^ It should not fail the execution of next steps in workflow. It only shows error for push step. is it blocking you to use Novu?
bledar
bledarOP2mo ago
Yes, the other steps of the workflow are working correctly. Only push is failing for users that have no push token registered yet.
Want results from more Discord servers?
Add your server