I have created a form where different roles can fill in the fields that have been assigned to them. This form stores the fields in a table. Everything works great. now my next step is that the roles are allowed to fill in the fields in order: Role 1 begins to fill in its fields and saves that, only now can role 2 fill in its fields, when role 2 is finished and has saved, roll 3 can fill in the fields. (I have 5 rolls) You can only fill in the fields assigned to you (as mentioned above) so to speak, I would like to create a workflow that depicts this scheme and need help with it. this is part of my form
I do not know the details of your project, but I guess the easiest way to do this is creating a page with all the info you need to have filled in.
Then you set the editibility of the fields based on the user roles. (Or preferably set the read/write access in the domain model so that users can only change their fields).
When the user clicks save/submit a microflow should be called which checks if a user task is completed.
Do you really need a workflow? Can you have a flag in your entity which depicts the role which is currently responsible for data entry? This will be much simpler than devising a workflow and assigning tasks to roles.