Skip to content
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

Substitute logic for workflow node executions #349

Open
anamarn opened this issue Feb 3, 2025 · 0 comments
Open

Substitute logic for workflow node executions #349

anamarn opened this issue Feb 3, 2025 · 0 comments
Assignees
Labels
scope: backend Issues that are affecting the backend side only

Comments

@anamarn
Copy link

anamarn commented Feb 3, 2025

Given that the alerts are introduced, I want to trigger a workflow node only if the user didn't reach the usage limit on the specific item and if it has an active subscription.

This means
After fetching the active subscription-> search the subscriptionItem associated with the meter eventName.

Possibles solution for making the search lighter

  • ForeignKey stripePriceId in subscriptionItems
  • add new columns in subscription items to distinguish the usage base prices from the licensed prices
@anamarn anamarn self-assigned this Feb 3, 2025
@anamarn anamarn converted this from a draft issue Feb 3, 2025
@anamarn anamarn added the scope: backend Issues that are affecting the backend side only label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: backend Issues that are affecting the backend side only
Projects
Status: 🔖 Planned
Development

No branches or pull requests

1 participant