Doubts about security, work flow and BPF
Anybody can tell me a resume about how to do this next problem below?
I suppose that with BPF, have 2 tasks(A,B). And A has 2 subtasks (A1,A2).
For example: A1 is used to introduce information
A2 is used to apply business rules.
B is used to validate datas.
In the system, I have 2 user: admin and user. Only the admin can validate datas and user can introduce information and apply rules.
In the system I have an application EXAMPLE with some dimensions. and I have created 3 states for de BPF: avaible (by introduccing information), executed (by applying business rules) and closed(by validating datas).
I describe one normal situation: a user open excel, introduce datas. This suppouse that the datas change the state into the next state, after that the same user applies bussines rules and then the status change again and after all, the admin validate datas.
¿ How can I do this? anybody can tell me a resumen. My problem is that I dont understand how to use the work status to change de state. How the state after doing a tasd will change, Where I define this?