Skip to content

Difference between service and flows #5636

Answered by mvilanova
robin5210 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @robin5210, that's correct. Service modules are primarily used for CRUD operations and flow modules for business logic. Here's an example, API request to create a new incident comes in, views module handles that and decides which flow within the flows module needs to be run, then the service module is used to create the incident in the db. Does that make sense?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@robin5210
Comment options

Answer selected by robin5210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants