N
Novu3w ago
Vivek

In-app and email not working in same workflow

I've workflow with following steps 1. Send in-app if logged in for last 7 days (else skip) and send email 2. Wait for 7 days 3. Send email for reminder But my flow is failing when in-app is skipped if user has not logged in (skip condition) with error that "must have required property 'seen'"? Is there any way to avoid this error? Let me know if any other input are required.
8 Replies
Shubham
Shubham3w ago
@Pawan Jain
Pawan Jain
Pawan Jain3w ago
@Shubham @Vivek Are you creating this workflow using @novu/framework ? Can you share the code of this worklfow here?
Pawan Jain
Pawan Jain3w ago
is your issue related to this bug? https://github.com/novuhq/novu/issues/7375
GitHub
🐛 Bug Report: Skipped inapp step will cause fail · Issue #7375 · no...
📜 Description When previous inapp step is skipped, next step will show error. "statusCode": 400, "message": "Workflow with id: test-workflow has an invalid state. Step wi...
Vivek
VivekOP3w ago
Yes it looks similar issue Is there anyway to resolve this issue for now? Yes we're creating workflow using @novu/framework currently.
Pawan Jain
Pawan Jain3w ago
@Vivek Our team is aware of this issue. It will be fixed soon
SaMMaHeTa
SaMMaHeTa3w ago
i am having same issue. @Pawan Jain . is it possible to build API image manually without any change will have chances to make it works. if yes then i can try to build api docker image in my system. otherwise i am also trying to look into it and find the solution. also looking forward for the solution.🙌
Vivek
VivekOP3w ago
@Pawan Jain do we have in timeline in place?
Pawan Jain
Pawan Jain2w ago
@Vivek @shubham This issue is now fixed @SaMMaHeTa Can you check if it is fixed for you in novu framework sdk version 2.5.3?

Did you find this page helpful?