1
I’m doing an application in Cakephp and would like your help in what would be the best way to create my database and my relationship between models.
It would be a "workflow".
I would like it to work as follows:
1- This application will have several groups and these groups, several users.
2- Each request would have its own flow, and several requests could have the same flow.
3- The "administrator" can create multiple workflows, up to 5 steps, between groups and people. Example:
Primeiro Aprovador | Segundo Aprovador | Terceiro Aprovador | Quarto Aprovador | Quinto
Grupo Delta Joao Pedro Grupo Alfa NULL
4- When the administrator chose a group, and not a specific user, someone from that group would be drawn.
5- Approvals would follow the order, that is, the next can only approve if the previous one has already approved.
I think that’s pretty much it.
This is really giving me a lot of work. I’m not getting anything.
Hello. Your reply put me on the right track to get what I wanted. Thank you.
– Igor Martins