-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: online filter documentation #2516
docs: online filter documentation #2516
Conversation
NV-1482 Documentation
|
docs/docs/platform/step-filter.md
Outdated
|
||
The online filter feature can be used to determine if a subscriber is online right now or if the subscriber was online within a specific time period. | ||
|
||
- To determine if a subscriber is online right now, Novu checks the value of the `isOnline` field. If `isOnline` is `true`, the subscriber is online, otherwise the subscriber is offline. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
", otherwise when the isOnline
is false
the subscriber is considered offline."
Not sure if we should say that the subscriber might not have these fields set at the beginning, and if not we won't deliver a message, because we don't know whether he is online or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think once a subscriber is added to the system and it might not have those fields, technically the subscriber should be considered offline, until the subscriber logs in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BiswaViraj I don't think that we can say that, because actually, he could be online at that time, so we don't know. I mean I'm talking about the old ones.
Thanks @LetItRock for the suggestions 🚀 |
What change does this PR introduce?
Added the documentation for the
online filters
and its working mechanismWhy was this change needed?
Other information (Screenshots)