-
I'm trying to understand the difference between the content of It is not very clear for me how the correct file for a function is chosen. How I imaging it now it the following distinction: Is this correct? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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? |
Beta Was this translation helpful? Give feedback.
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?