You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Novu supports adding multiple integrations of same provider. Each integration can have step conditions on tenants and based on these conditions, these providers can be used in workflow execution.
👟 Reproduction steps
Create two push webhook integrations, give different webhook URL and secret hmac key. Give different names to each one to make it easy to identify later. Make these two integrations active
Create a subscriber push-webhook-subscriber for testing this bug
Update the above subscriber's credentials using this API for both of the integrations. Use any string value for device token
Create a workflow with only push step. write title and message content.
make sure only above two push webhook integrations are active for push channel providers
Create two tenants with different name and identifier. Store this data
// for first tenant
{
"country": "US"
}
// for second tenant
{
"country": "EU"
}
Add conditions on tenants for data.country key on both integrations
Trigger the workflow to push-webhook-subscriber subscriber and send tenant identifier also
Push step will be executed for both providers and conditions will not take effect
👍 Expected behavior
tenants conditions should take effect and integration should be disabled based on conditions
📜 Description
Novu supports adding multiple integrations of same provider. Each integration can have step conditions on
tenants
and based on these conditions, these providers can be used in workflow execution.👟 Reproduction steps
push-webhook-subscriber
for testing this bugpush-webhook-subscriber
subscriber and send tenant identifier also👍 Expected behavior
tenants conditions should take effect and integration should be disabled based on conditions
👎 Actual Behavior with Screenshots
Tenants conditions are not working
Novu version
Novu SaaS
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
transactionId: -
b67f3197-f0b5-4ea5-9603-f82d332cc3c1
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: