I am creating an application that will help our employees manage tasks. Employees are divided into regions in the country. I would like the employees from a given region to see tasks related only to this region.
Workflow:
A task is submitted through the form. One of the fields in the form is the "name of the region".
The task falls into view for region.
Employees can take over the task from the view for their region.
I have MAIN data model named Service
where embedded is form for submitting a task.
I also have data dictionary modal, where I have imported data about employee and his region.
Questions:
- How to create a view for employees from certain region?
- Should I do some relation?
EDIT: I have tried to do datasource on Service modal and write some query doing filters, but I don't exactly understand how the query works.
EDIT 2: This is how modals look like:
Service:
DOT: