I’m building an app where I have a directory of employees. I want to be able to assign them a certain process that has multiple tasks. For example, if an employee wants to take time off, the tasks would be to fill out a form, get it signed by their manager, send it to HR, wait for approval, get final signed copy. Once I’m notified of their intention to take time off, I would assign them these tasks in the backend and check them off as they are completed. The employee does not do anything in the app. It’s just for the backend.
I’ve tried multiple things and I’ve gotten very close to what I want but still not there. I think I have to do a one-to-one relationship with each task and each employee but not quite sure how to go about doing this.
I should be able to assign the same process (same set of tasks), to multiple employee and track their progress individually.
The employees are not users and they do not have access to the app.
What you need is a “process assignment system” with relational structure:
Create a “Processes” table – each row is a process like “Time Off Request.”
Create a “Tasks” table – each task belongs to a process using a “Process ID”.
Create an “Assignments” table – each time you assign a process to an employee, create a new assignment record with a unique ID (Example: “Assignment ID”).
Create an “Assigned Tasks” table – when you assign a process, copy the related tasks into this table using the “Assignment ID” and link it to the employee.
Now, each employee gets their own copy of tasks tied to a specific process, and you can track progress independently without affecting others. Employees don’t need app access; it’s all managed by you.
I’ve seen this solution before (I tried ChatGPT too) and it kinda worked in practice. I could never figure out how to assign the process ID.
But anyways, I ended up doing something else - I created a workflow that assigns all the tasks in the workflows creating individual rows for each task and the one faculty is assigned to all these tasks.