subscriber.isOnline in novu framework
Can't seem to access isOnline in the step subscriber data
17 Replies
@Emmax
Use true/false value like this

Should I just edit the workflow I created in the code framework from the dashboard @Pawan Jain ?
@Emmax
If you are using novu framework then workflow can only be managed via code.
You will have to use skip feature for this
https://docs.novu.co/framework/skip
Unfortunately, isOnline flag is not available with framework workflows
Skip Function | Novu Documentation
Skip any step of the workflow based on a condition
Yeah I saw the skip function, I'll just leave it like that for now, I mean if the user is offline they just won't get the push step so it's fine... I just wanted to not send the push notification if they aren't online
a small note, subscriber online flag is based on novu inbox component is loaded or not. We create ws connection with inbox
I see
No worries
@Pawan Jain trying to update the prod bridge endpoint

I was able to sync to staging successfully
@Emmax
Can you try with CLI sync method?
From the local studio?
@Emmax, you just advanced to level 1!
CLI method
Error

@Pawan Jain
The staging worked fine, and I have confirmed that the endpoint is accessible
Can you please send us an email to [email protected] and share any of the workflow url so that I can dig into the issue
Do you use any reverse proxy or cloudflare configuration with this prod URL?
Yeah we do, we do on staging too though
Yeah a different proxy was the issue
It works now